218863 Commits

Author SHA1 Message Date
Yohei Yukawa
e13a20facc Unbind IME client when unsetting the current IME.
This follows up Ia70b870723acf647e0c27f24aff91b40d6f85543.

In certain scenarios, only IMMS#mCurMethodId is cleared with null
while IMMS#mCurClient is still pointing to the last application.
This is problematic when IMMS#mCurClient matches
SystemConfig#getFixedImeApps(), because it means that the current
IME is to be fixed to null.

With this CL, IMMS#unbindCurrentClientLocked() is always called
every time when IMMS#mCurMethodId is cleared to null.  Note that
clearing IMMS#mCurMethodId to null is a kind of hard-reset, where
unbinding IME client should make much sense in terms of robust
and predictable state management.

Bug: 18056075
Change-Id: I6c3186050592526fc95c5b27f18e2155acff5ebc
2015-09-30 19:11:32 -07:00
Alan Viverette
4d4b9fd78f Merge "Document API-level-specific delegate behavior" 2015-10-01 01:08:53 +00:00
Raph Levien
091dba2de1 Load binary hyphen data files
Support for loading the pre-compiled binary format for hyphenation
patterns.

Bug: 21562869
Bug: 21826930
Change-Id: Iaeaa9c9ac9dac236af6b0d7894c2e2396bc8447d
2015-09-30 17:37:54 -07:00
Miao Wang
2e76dca29d am 454835c6: am 05420e77: am 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS functions"
* commit '454835c6084c44e31edf17695174c4281aef090c':
  [RenderScript] pass correct length of ains to BLAS functions
2015-10-01 00:10:40 +00:00
Miao Wang
454835c608 am 05420e77: am 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS functions"
* commit '05420e77f5358fc7a8996b39daf3aa976b826b53':
  [RenderScript] pass correct length of ains to BLAS functions
2015-10-01 00:00:04 +00:00
Miao Wang
05420e77f5 am 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS functions"
* commit '134c504a3ea687a0ea875057792e66705ddbfce7':
  [RenderScript] pass correct length of ains to BLAS functions
2015-09-30 23:44:22 +00:00
Amith Yamasani
515d40600e Delay cleaning user tasks until user is removed
Fixes #24301208 No recent apps shows when switching
between users.

Instead of cleaning up when stopping a user, we
should remove tasks when removing a user, since
recents tasks should be persisted across reboots.
Reboots are similar to stopping and starting users.

Change-Id: I9a250792077cca5f18ae1a10bc36f7b97e8ea867
2015-09-30 16:22:52 -07:00
Zachary Kuznia
c78d641322 Use the standard GestureDetector to handle double tap and hold in TouchExplorer.
b/24407329

Change-Id: I1cbd1a232bd642eb9bf87548b1a3d1afe48a9bed
2015-09-30 16:22:30 -07:00
Oren Blasberg
b444e12c0b Change popup menu header color to secondary color.
This makes it a nicer 54% black (on light theme), in line with material
spec and what UX recommends. It makes the header text more distinguishable
from the menu items.

Change-Id: Iea34b9b4b8724f508844526fa5b8c831aa5ab81e
2015-09-30 16:05:07 -07:00
Miao Wang
134c504a3e Merge "[RenderScript] pass correct length of ains to BLAS functions" 2015-09-30 22:53:18 +00:00
Miao Wang
0b34f2a3c5 [RenderScript] pass correct length of ains to BLAS functions
bug: 24540091
Change-Id: Ia541bcbee07125c4caf3e0f4863702a3c0b929d5
2015-09-30 15:38:07 -07:00
Deepanshu Gupta
0cdfc4d273 am 21af84d3: am 7a9f771f: Merge "Don\'t break error string (easier grepping)" into mnc-ub-dev
* commit '21af84d3e4bf82e9dd8b5087b60630f29668bda3':
  Don't break error string (easier grepping)
2015-09-30 22:27:31 +00:00
Deepanshu Gupta
21af84d3e4 am 7a9f771f: Merge "Don\'t break error string (easier grepping)" into mnc-ub-dev
* commit '7a9f771fe010c697c6a9fb143f0a26778d440c8c':
  Don't break error string (easier grepping)
2015-09-30 22:22:09 +00:00
Ben Kwa
a4a28f1f7a Merge "Consolidate unit tests." 2015-09-30 22:19:56 +00:00
Deepanshu Gupta
7a9f771fe0 Merge "Don't break error string (easier grepping)" into mnc-ub-dev 2015-09-30 22:16:22 +00:00
Ben Kwa
272c02041c Consolidate unit tests.
- Move all unit tests to be run under the android framework.
- Add a unit test for ag/776629
- Make DirectoryFragment.Model tests properly simulate finalization conditions.

Change-Id: Ie33d097154d464149fd8c0c24bf66ada677db4ad
2015-09-30 15:12:52 -07:00
Filip Gruszczynski
12a2ab4cc8 Merge "Revert "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded."" 2015-09-30 22:03:12 +00:00
Filip Gruszczynski
921171afcc Revert "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded."
This reverts commit b3acc92bff3594b73eb80fad2a5fe79541e4a095.

Change-Id: Ief0f3ca1d45be5838a826494f64c65776868d188
2015-09-30 22:02:57 +00:00
Fyodor Kupolov
85f3402d31 Merge "Check multi-user support in isUserSwitcherEnabled" 2015-09-30 21:58:19 +00:00
Daniel Erat
12f63ce616 am f0e87446: am d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager.aidl."
* commit 'f0e8744620cc95464dcb7622f3582d70cb7bc364':
  Update instructions in IPowerManager.aidl.
2015-09-30 21:54:54 +00:00
Ben Kwa
cf34ce8e22 Merge "Switch DocumentsUI over from Toasts to Snackbars." 2015-09-30 21:50:34 +00:00
Ben Kwa
94b486d32c Switch DocumentsUI over from Toasts to Snackbars.
Add a new top-level CoordinatorLayout to ensure proper operation of the
snackbar.
Switch all Toast code over to use Snackbar.

BUG=24474629

Change-Id: Iafffb35be6115cbac9304fd44e77e73b6be40c17
2015-09-30 14:47:55 -07:00
Filip Gruszczynski
30bc0ec246 Merge "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded." 2015-09-30 21:44:56 +00:00
Filip Gruszczynski
6f81ff67fc Merge "Improve visibility and layering of dock divider." 2015-09-30 21:44:37 +00:00
Filip Gruszczynski
e95b0aef6d Improve visibility and layering of dock divider.
We adjust the visiblity of the divider now after every layout.

The divider was far too high in the priority list, based on the wrong
assumption that as a part of the system UI it needs to be constantly
visible. It should stay at the same level as applications, because it's
almost as a part of application.

Layering gets improved by having the relaunch animation receive zorder
top, just as if it was entering. The window that is being replaced fakes
this too, since it's not being animated, but should share the behavior.

Bug: 24500829

Change-Id: Iad3369a5ab6721b1bf7a94e8979dcf33e0805c7f
2015-09-30 14:44:01 -07:00
Daniel Erat
f0e8744620 am d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager.aidl."
* commit 'd3e3d8896ea0f2eba1424b57ac8a5b5d9287000c':
  Update instructions in IPowerManager.aidl.
2015-09-30 21:39:01 +00:00
Filip Gruszczynski
b3acc92bff Refactoring: two more calls for WindowState.setDisplayLayoutNeeded.
Change-Id: I2037bda03644f16ab03145eea257714b974a3059
2015-09-30 14:38:55 -07:00
Daniel Erat
d3e3d8896e am c3f37589: Merge "Update instructions in IPowerManager.aidl."
* commit 'c3f37589e04a52c109c63f6411db444500d4f92c':
  Update instructions in IPowerManager.aidl.
2015-09-30 21:30:31 +00:00
Daniel Erat
c3f37589e0 Merge "Update instructions in IPowerManager.aidl." 2015-09-30 21:21:33 +00:00
Chong Zhang
5482018a31 Merge "Only send touch event in NonClientDecorView to caption bar" 2015-09-30 21:18:17 +00:00
Roozbeh Pournader
0223804e05 Merge "Add LocaleList support to content.res.Resources." 2015-09-30 21:13:57 +00:00
Chong Zhang
509ea6b285 Only send touch event in NonClientDecorView to caption bar
bug: 24537314
Change-Id: I3735398b2c9425b11c44f37669ba7267f9cc32bf
2015-09-30 14:12:11 -07:00
Todd Kennedy
a1d12cfdb0 Update PackageInstaller install handing
* Allow forcing permission check. We want to modify the PackageInstaller to
use the PackageInstallerSession for better security / remove deprecated APIs.
In order to do this and continue to prompt for permissions, we need to prevent
the PakcageInstaller from auto-approving the permissions.

* Add originating UID to SessionParams. This is used for package verifier
checks.

Bug: 22282121
Change-Id: I19079749d20ace66f1332f399d52cb0fb8784cd9
2015-09-30 14:11:33 -07:00
Fyodor Kupolov
cd86ebf1c9 Check multi-user support in isUserSwitcherEnabled
isUserSwitcherEnabled now returns false if multi-user is disabled(
supportsMultipleUsers() returns false).

Removed GUEST_USER_ENABLED setting and replaced with DPM.getGuestUserDisabled
check. It currently always returns false, but will be replaced with an actual
policy check.

Bug: 17571233
Change-Id: I41853e8b321b2537952cac5d92e88bfdb8cbd9a8
2015-09-30 14:08:01 -07:00
Daniel Erat
22f58762e1 Update instructions in IPowerManager.aidl.
Clarify IPowerManager.aidl's instructions for keeping the
C++ implementation in sync.

Change-Id: Ic51a3844483031e71fe2cfa1d3e8a065df86d119
2015-09-30 14:55:35 -06:00
Jeff Sharkey
54c331a05b am 5dfd06f7: am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit '5dfd06f7d00476dcffb933584ef7e083469215e3':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:36:50 +00:00
Jeff Sharkey
d3af58e217 am 4296209d: am 3d65dcbc: am 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev
* commit '4296209de579b97accfce90b3972c8df7a93a911':
  Clean stale entries when deleting files.
2015-09-30 20:36:43 +00:00
Geoff Mendal
4a1b927c8e am bac11fdb: (-s ours) am e69c0e42: (-s ours) am a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
* commit 'bac11fdbfc57ef09dafb80710b8db1542eb4d88e':
  Import translations. DO NOT MERGE
2015-09-30 20:36:31 +00:00
Jeff Sharkey
5dfd06f7d0 am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit 'c2fa99edf1591eca47ad678889cfd4924f2470a8':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:27:36 +00:00
Jeff Sharkey
4296209de5 am 3d65dcbc: am 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev
* commit '3d65dcbcec75bd53bb9da6ecebcb9dccc8eb42c7':
  Clean stale entries when deleting files.
2015-09-30 20:27:30 +00:00
Geoff Mendal
bac11fdbfc am e69c0e42: (-s ours) am a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
* commit 'e69c0e4236557a1a2f6af2afcf0884878cfc390a':
  Import translations. DO NOT MERGE
2015-09-30 20:27:24 +00:00
Jeff Sharkey
c2fa99edf1 am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit '792a9cc3a5a8aee7ccf79ba5fb2570263505b23f':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:21:17 +00:00
Jeff Sharkey
3d65dcbcec am 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev
* commit '588430591b7bb5340ff02f05f1c02eaf924326ad':
  Clean stale entries when deleting files.
2015-09-30 20:21:11 +00:00
Geoff Mendal
e69c0e4236 am a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
* commit 'a4a758032537cceb47a0924b5082cb2197c5e446':
  Import translations. DO NOT MERGE
2015-09-30 20:21:04 +00:00
Jeff Sharkey
792a9cc3a5 am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
* commit '30fd0628970b418dea382b388120f52504ff2243':
  Relax auto-launch checks for GET_CONTENT.
2015-09-30 20:11:22 +00:00
Jeff Sharkey
588430591b am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev
* commit 'e69ff2a878ee7635a467259995e2924fb96a3a72':
  Clean stale entries when deleting files.
2015-09-30 20:11:17 +00:00
Geoff Mendal
a4a7580325 am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
* commit 'a6bf0ebd6e7decda9ee02811cc5b73b96b9b9de5':
  Import translations. DO NOT MERGE
2015-09-30 20:11:13 +00:00
Neil Fuller
2bf03c9681 am 29a631e1: am 08aa3309: am ead371de: Merge "Remove use of \'_\' variable name"
* commit '29a631e14703d1705609da27650ecbcf766035a1':
  Remove use of '_' variable name
2015-09-30 20:05:38 +00:00
Robin Lee
d47f68a807 Merge "Call into PackageManager as mContext, not myUserId" 2015-09-30 19:57:28 +00:00
Deepanshu Gupta
1bd276f6f7 Don't break error string (easier grepping)
Change-Id: If52097ba90481644707dd0323ec63ca3ddf0986b
2015-09-30 12:49:42 -07:00