237844 Commits

Author SHA1 Message Date
Andrii Kulian
112d05678b Caps Lock toggle with Meta + Alt (2/2)
Caps Lock implementation in frameworks/base

Bug: 27482276
Change-Id: Ie0d8145c049197d4591e012832a710e4f751d2ac
2016-04-06 12:36:33 -07:00
Deepanshu Gupta
5b758bf272 Merge "Add missing setAccessible to Choreographer's threadInstance" into nyc-dev 2016-04-06 19:32:02 +00:00
Deepanshu Gupta
42c8bd1b4a Add missing setAccessible to Choreographer's threadInstance
Change-Id: I753660cf68ba5a9c375942222e32059d952739bb
2016-04-06 12:29:55 -07:00
Ruben Brunk
c7be3beced Add VrManager AIDL interface for use by system apps.
Bug: 27884853
Change-Id: I6de0d291deafe5003070d60866c60d6599312e79
2016-04-06 12:29:40 -07:00
Selim Cinek
0ff1ce6075 Changed the default if the notification time is shown
By default the notification time is not shown anymore.

Bug: 27431551
Change-Id: I68f19450d0de795a51644e939a3fd64366c0abb6
2016-04-06 12:22:46 -07:00
Todd Kennedy
c2b2f6eeff Merge "Adjust javadoc for filter priority" into nyc-dev 2016-04-06 19:20:41 +00:00
Selim Cinek
bc3b0458bf Fixed the contentinfo api usage in the bugreport
Removed the percentage shown in the header and
migrated the name to the subtext as contentinfo
was deprecated.

Change-Id: Ifd79a67cad8958049bd29b8eb4c9bcbb4822688b
2016-04-06 12:18:53 -07:00
Selim Cinek
0f9dd1e2f5 Deprecated the contentinfo and the number
It was mainly adding noise to the notification
rather than useful information.

Bug: 27431551
Change-Id: Ie22c9935d60eeac1cca5d9ce97239aadfac9b3cf
2016-04-06 12:18:31 -07:00
Robin Lee
a0576c61d8 Merge "Disallow prepare()-ing over an always on VPN app" into nyc-dev 2016-04-06 19:12:43 +00:00
Jorim Jaggi
11c62e17af Dynamic density change handling
- In PWM, make sure to read the height values after the new
configuration has been applied.
- Reset all navigation bar button icons when density changes.
- Adjust height of notification bar.
- Reload divider height values in SysUI and WM.
- Snap divider handle to a new position after loading the
new configuration, as the snap points change.

Bug: 26844819
Bug: 27450471
Bug: 27921696
Change-Id: I9e28f0c49f6367c5fcfac010e7a6e98a42e85996
2016-04-06 19:12:24 +00:00
Jorim Jaggi
f583427b0d Fix dialog placement
When calculating the frame for non-fullscreen windows, we incorrectly
used the wrong bounds to calculate the frame, which lead to wrong
positioning.

To fix this, we use the inset bounds, which we consider the source
of truth for all layout related aspects, to calculate the frame,
and then offset everything by the difference between the inset bounds
and the task bounds to position them correctly.

Bug: 28012565
Bug: 27860956
Bug: 27441808
Change-Id: I90d45054e0bcce78d021ad2cd20e5ef7f79ded3d
2016-04-06 19:08:51 +00:00
Deepanshu Gupta
39f1311b54 Merge "Clear ThreadLocal storage from Choreographer" into nyc-dev 2016-04-06 19:04:00 +00:00
Alan Viverette
a27c1df9c2 Merge "Add scroll indicators to resolver list layouts" into nyc-dev 2016-04-06 19:03:33 +00:00
Gus Prevas
86f303e7d4 Merge "Fixes typo in Wear window animation." into nyc-dev 2016-04-06 19:02:20 +00:00
Winson
d72c315d5e Adding more logging of the state to the bug report.
Bug: 28009206
Change-Id: I0efc513bb6fc5ea4c9724b0a411ca5d60a71f27e
2016-04-06 11:49:33 -07:00
Steve McKay
3855e9ce49 Merge "Massage code to better support Files overlay." into nyc-dev 2016-04-06 18:44:59 +00:00
Selim Cinek
a424c504d5 Fixed a bug where the scrollrange was calculated wrong
First the scrollrange would allow the first element to be
collapsed which doesn't make sense now that it's scrolling
off. It could also be wrong if the notification was a group.
Then the scrollrange was also wrong because the bottomInset
was always added even though it shouldn't have done that.

Change-Id: I7184946c4406bc0b5796194af86155aa6ba68c8e
Fixes: 28015188
2016-04-06 11:39:56 -07:00
Tony Mak
a01c1f0d90 Merge "xxxTrustAgentConfiguration should be supported in the parent DPM instance" into nyc-dev 2016-04-06 18:39:21 +00:00
Adam Lesinski
cc5609d8e4 AAPT2: Implement XmlActionExecutor to verify manifest
Defines a set of actions to perform on XML elements defined by their
hierarchy, eg: manifest -> application -> activity.

This can be used to easily add rules to check more tags in AndroidManifest.xml

Change-Id: I76c6916a98b6403075a7e56e16230979dc6cbee1
2016-04-06 11:37:05 -07:00
Jason Monk
8da25ef74a Merge "Fix inability to add all tiles." into nyc-dev 2016-04-06 18:34:55 +00:00
Jason Monk
89e6f010e2 Fix inability to add all tiles.
Change-Id: I1d6ea9825277c902e238a896580c96d509b459ef
Fixes: 27837813
2016-04-06 14:32:54 -04:00
Deepanshu Gupta
61ccc9198a Clear ThreadLocal storage from Choreographer
Change-Id: I5abb5c68a635e7808b0a036ba4d9971cd0139aa3
2016-04-06 11:32:36 -07:00
Winson
b20247636b Disable landscape aspect-scaled behavior for TV.
Bug: 27923205
Change-Id: Ibe45ba62a9de9c03480844235efc97e8b8299e61
2016-04-06 11:09:35 -07:00
Andrii Kulian
69fb5e4e6e Set correct bounds when docked stack is removed v2
Improved implementation of ag/903691.

Set bounds to null when docked stack is removed and other stacks are
resized to occupy whole display area. It ensures that stacks will have
correct fullscreen status.

Bug: 27857485
Change-Id: I7492ab4cbe2de30e7ccfd5413523c307e11f241d
2016-04-06 10:58:50 -07:00
Todd Kennedy
2c4078611a Adjust javadoc for filter priority
This clarifies the usage of setPriority() for receiver filters.
Should also adjust the XML description of android:priority to
better describe the new behaviour for activity filters

Bug: 26417683
Change-Id: I96b2d90d71640041e232c401cf6e6838dbdbfeab
2016-04-06 10:57:51 -07:00
Winson Chung
fef8cfc3f0 Merge changes I1bad66e2,Ibc93597e,Id985fc28 into nyc-dev
* changes:
  Remove the highlight on the overview button in the screen pinning dialog
  Fixing bad regression in alt-tab layout.
  Workaround to ensure that a SystemUI process is always available.
2016-04-06 17:50:31 +00:00
Phil Weaver
847afadd7a Merge "Eliminate deadlock in magnification." into nyc-dev 2016-04-06 17:49:48 +00:00
Alan Viverette
81181dc356 Add scroll indicators to resolver list layouts
Also reformats XML for consistency.

Bug: 27431395
Change-Id: I468dd1582ddcabe360b8665b6f42b3248caa16a5
2016-04-06 13:47:01 -04:00
Lenka Trochtova
9745ea3536 Merge "Put disallow-safe-boot restriction to system settings to make it accessible during boot." into nyc-dev 2016-04-06 17:37:23 +00:00
Selim Cinek
f1f270a094 Fixed a bug where the height of the group was wrong
This lead to very visible bugs.

Bug: 24866646
Change-Id: I62bfbb2f3895a5a69eb4807d109643bdfdf95351
2016-04-06 17:36:08 +00:00
Jeff Sharkey
ee2c7c7d63 Merge "Wrap logcat invocations with timeout." into nyc-dev 2016-04-06 17:33:45 +00:00
Russell Brenner
e11eb10e8d Merge "Match SUW package after FBE reboot" into nyc-dev 2016-04-06 17:32:56 +00:00
Todd Kennedy
4bb80305fb Merge "Move cert tracing to PackageParser" into nyc-dev 2016-04-06 17:27:58 +00:00
Adam Powell
c0eb067ceb Merge "Fragment#setUserVisibleHint guard" into nyc-dev 2016-04-06 17:26:53 +00:00
Todd Kennedy
0f4bc2b800 Move cert tracing to PackageParser
Tracing for cert collection in PackageManagerService was only
catching one of a couple usages. Move tracing lower in the
call stack to ensure tracing exists for all calls.

Also added a new tag to differentiate between verifying v1 & v2
signatures.

Bug: 27502465
Change-Id: Ie29f326e44f32cdbea1572714689c82f07ca12ba
2016-04-06 10:25:24 -07:00
Steve McKay
53f109b39e Massage code to better support Files overlay.
Also, allow "productivity_mode" config to be enabled via intent extra
    as a developement aide.

Bug: 28006206
Change-Id: I7be8d96a0e924f9ce8023347e051d28d69a0eec9
2016-04-06 10:25:02 -07:00
Chong Zhang
52c30b0cf8 Merge "Set up none transition for relaunching apps during screen freeze" into nyc-dev 2016-04-06 17:18:53 +00:00
Yohei Yukawa
d4c676131f Merge "Add an overlayable config for IME switcher visibility." into nyc-dev 2016-04-06 17:15:48 +00:00
Robert Shih
696dc4d8df Merge "DrmInitData: prevent public constructor access" into nyc-dev 2016-04-06 17:13:23 +00:00
Lenka Trochtova
6474f0e02b Put disallow-safe-boot restriction to system settings
to make it accessible during boot.

BUG: 26251884

Change-Id: I1dee58dfc2aa746e0e97a6675c611c6e313ec91c
2016-04-06 19:11:23 +02:00
Bill Yi
1667682d99 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 17:10:27 +00:00
Bill Yi
a0026d58bc Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 17:03:21 +00:00
Robin Lee
589b855719 Merge "Remove bool return from setAlwaysOnVpnPackage" into nyc-dev 2016-04-06 17:01:24 +00:00
Jason Monk
b2c8a4a06a Merge "Make QS tile lifecycle tests less flaky (hopefully)" into nyc-dev 2016-04-06 16:57:44 +00:00
Adam Powell
3e10ae927c Fragment#setUserVisibleHint guard
Bug 28026606

Change-Id: I109bce6ecd35feaa045b61a7226b2a19344d2cda
2016-04-06 09:57:40 -07:00
Jason Monk
f30b5ca1b1 Make QS tile lifecycle tests less flaky (hopefully)
Change-Id: I387c774267c076cf244d2870b051ad6d586d3564
2016-04-06 12:54:26 -04:00
Bill Yi
4f997f2592 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-06 16:49:15 +00:00
Jason Monk
6573ef2079 Work on QS landscape fitting
Battery/DND detail panels still need some work.

Bug: 27276984
Change-Id: I0c94d1ecdbe8c230a3f991daaf65dfbd81d08b85
2016-04-06 12:46:28 -04:00
Phil Weaver
445fd2afe9 Eliminate deadlock in magnification.
Use the lock from AccessibilityManagerService in
MagnificationController, since the two services call each other with
locks held.

Bug: 27725795
Change-Id: Iaed6749bf217210457325c3912da0f7aa0f6319a
2016-04-06 16:43:44 +00:00
Abodunrinwa Toki
856ebe206b Merge "FloatingToolbar: Include scroll indicators in overflow." into nyc-dev 2016-04-06 16:38:51 +00:00