21294 Commits

Author SHA1 Message Date
Geoff Mendal
957293e30b Import translations. DO NOT MERGE
Change-Id: I37ead402c3e0ed5f172302abb7184fe232e4fbb6
Auto-generated-cl: translation import
2016-01-18 05:46:44 -08:00
Thierry Strudel
e5480cc52a Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am: fc7e682f44 am: f4dd31755a
am: 3b6c965570

* commit '3b6c965570e5f4f54a78a6478bac40a355c6b372':
  Supply content description for QS disconnect buttons
2016-01-16 02:28:30 +00:00
Daniel Sandler
7965ebe42a Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev am: 76f28bbd64 am: 3be84505f4
am: 8afab95aa9

* commit '8afab95aa976cc1d07ee307df9fa85f505ba800c':
  Stop leaking Notifications when they change groupKeys.
2016-01-16 02:26:53 +00:00
Thierry Strudel
3b6c965570 Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am: fc7e682f44
am: f4dd31755a

* commit 'f4dd31755a31a2eea6e363a1ab45a4a8634e27ed':
  Supply content description for QS disconnect buttons
2016-01-15 23:51:19 +00:00
Anthony Chen
83092c6cbb Separate notification area into own controller.
Extracts the notification area of the status bar into a layout file and
create a NotificationAreaController that controls what happens in this
area.

This is to allow this area to be configurable in Android Auto Embedded
cases where OEMs may want their own custom implementations here.

Change-Id: I8a52af676d16fd6f7d3878805970a5897d2db945
2016-01-15 15:48:27 -08:00
Thierry Strudel
f4dd31755a Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
am: fc7e682f44

* commit 'fc7e682f445fbf358e59205912229b63c5fadda4':
  Supply content description for QS disconnect buttons
2016-01-15 23:47:53 +00:00
Thierry Strudel
fc7e682f44 Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev 2016-01-15 23:44:45 +00:00
Youngsang Cho
f164792472 Initial check-in of picture-in-picture system-ui
Bug: 26549507
Change-Id: I6c69b5e2b5492858fc997657b5a06d3e50ca16e3
2016-01-15 15:27:13 -08:00
Jorim Jaggi
00f33ec9a1 Merge changes I0b8b2ee3,Ib71f8f77,Ica481295,Iaf871389,Iab9a445d
* changes:
  Restrict drag in gesture to recents button
  Fix flickering while dismissing docked stack
  More optimization while dragging docked divider
  Don't relayout when windows move during resize
  Optimize window relayouts when dragging divider
2016-01-15 22:40:49 +00:00
Wale Ogunwale
2fd3f122bf Merge "Allow AMS.moveTasksToFullscreenStack moving tasks onTop" 2016-01-15 22:37:12 +00:00
Jorim Jaggi
298c081151 Restrict drag in gesture to recents button
Bug: 26317834
Change-Id: I0b8b2ee3b552b979c22b2135056c9899273886a0
2016-01-15 14:32:24 -08:00
Jorim Jaggi
2e95a488e0 More optimization while dragging docked divider
- Make sure mPendingBackdropFrame gets also set when if the window
triggers a relayout on it's own, so it doesn't call into window manager
all the time.
- Set the insets of the docked divider to empty so we don't trigger a
layout when we are just moving it - it doesn't need it in any case.
- Send a window move message to the divider when it moved
- Update attach info in all move cases, update light center

The whole resize operation now only takes around 4ms per frame, and
leaves a lot more resources for the apps to do configuration changes.

Bug: 25015474
Change-Id: Ica48129570a0fc858a89c21f46abf3442efb0224
2016-01-15 14:31:50 -08:00
Daniel Sandler
8afab95aa9 Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev am: 76f28bbd64
am: 3be84505f4

* commit '3be84505f41e58125b4449f0506d518bd2f1ae95':
  Stop leaking Notifications when they change groupKeys.
2016-01-15 21:18:20 +00:00
Daniel Sandler
3be84505f4 Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev
am: 76f28bbd64

* commit '76f28bbd64a6841a91d4890d7a248411fd95b149':
  Stop leaking Notifications when they change groupKeys.
2016-01-15 21:14:01 +00:00
Julia Reynolds
2ccd64777c Merge "Prevent users from blocking certain system notifications." 2016-01-15 20:21:21 +00:00
Winson
036693cf71 Preventing dock target from showing for single tasks.
Change-Id: I2a73c085e3777ac79f2846e1ba59f7c65bc3f9d0
2016-01-15 20:09:20 +00:00
Victor Chan
59f1744ef4 Merge "Highlight car nav facet when recent task changes." 2016-01-15 20:03:31 +00:00
Victor Chan
1c6d0589f1 Highlight car nav facet when recent task changes.
CarStatusBar will now register a ITaskStackListener
to handle changes in task stack and highlight the
appropriate facet for the current task. Currently using resource
defined package names and category to the filter for a given
facet. OEMs are expected to use categories definied in Intent.java

Also refactored business logic from CarNavigationBarView
into CarNavigationBar controller.

Change-Id: I203917ea43f2f488a1167f27dab84f1c451b3e93
2016-01-15 12:02:11 -08:00
Julia Reynolds
21c30548ba Prevent users from blocking certain system notifications.
Bug: 26575595
Change-Id: I0c890852a441085fffab143a590a12fbd7f2b2a3
2016-01-15 15:00:02 -05:00
Aga Wronska
9e74b3b88d Merge "Add Search View UI tests" 2016-01-15 18:30:53 +00:00
Wale Ogunwale
9101d26643 Allow AMS.moveTasksToFullscreenStack moving tasks onTop
Bug: 26573473
Change-Id: I4517ac2b3e803637971c329be2511ba66412d815
2016-01-15 10:22:38 -08:00
Aga Wronska
619f3be0fa Add Search View UI tests
Change-Id: I67726e7764ec147c5987cbf737f763c3146f5766
2016-01-15 09:49:36 -08:00
Xiyuan Xia
6a13e3be66 Merge "Refactoring for better extendability" 2016-01-15 17:31:32 +00:00
Sudheer Shanka
2887ab97d1 Merge "Add permission MANAGE_PROFILE_AND_DEVICE_OWNERS." 2016-01-15 17:30:07 +00:00
Sudheer Shanka
9a2eb85a03 Add permission MANAGE_PROFILE_AND_DEVICE_OWNERS.
It is required to query getUserRestrictions from DevicePolicyManager.

Change-Id: I5218f8cbe225ddd9ed8a74db94133bda5b571cc3
2016-01-15 17:20:55 +00:00
Dan Sandler
24813b0dd5 Stop leaking Notifications when they change groupKeys.
If a Notification changes groups (either from one group to
another, or gets a group key for the first time, which takes
it out of its implicit singleton group) it should be removed
from the old group in NotificationGroupManager's mGroupMap
and re-inserted under the new one.

Unfortunately we were passing the *new* notification in the
oldNotification argument, so we would always attempt (and
fail) to remove it from the *new* group, leaving a strong
reference to the Notification inside mGroupMap under an
obsolete group key.

Bug: 26561365
Change-Id: Ie5cdceb4f843dbd363652e00fbc0f3ac6f6ef247
2016-01-15 10:29:31 -05:00
Daichi Hirono
8414c671bd Merge "Fix compile error introduced by ag/842950." 2016-01-15 07:59:52 +00:00
Daichi Hirono
fab4a97a79 Fix compile error introduced by ag/842950.
BUG=25756419

Change-Id: I8ac270946b3915c02b21a07cf0a9c5b62d69effc
2016-01-15 16:54:24 +09:00
Daichi Hirono
111490a8e4 Merge "Fix AppFuse JNI." 2016-01-15 06:08:36 +00:00
Daichi Hirono
2153e822ee Fix AppFuse JNI.
* Return attributes for all files as well as root.
 * Fix buffer size for reading and add a check for reading size.

BUG=25756419

Change-Id: I572f718bc01d96616ec94f85d800b8b57eedd2ea
2016-01-15 13:45:47 +09:00
Winson
6ea2588a5d Fixing issue with action button not showing/animating.
- The system flags need to be reread when the task stack is reset.
- Since we check for alpha before doing the animation, we need to
  initialize the action button alpha back to zero when we reset the
  task view.

Change-Id: I97530a7bdd5e934ab1d5831ef30cf7774418ed95
2016-01-14 15:31:54 -08:00
Winson
f3918002f3 Fixing issue with checking the docked stack state for the wrong user.
Bug: 26256285

Change-Id: I068ee8250dc75bda984092300d75031422fbbd11
2016-01-14 15:31:47 -08:00
Winson
d8d896cefa Adding logging for history and paging.
Change-Id: Ibd9ff72858897c0a3680e81b94172e667e1291cc
2016-01-14 15:31:43 -08:00
Winson
df3012bc8d Enforce single deletion per key press.
Bug: 26467824
Change-Id: I88542cfbd52a4a60bc8319390f2688fac5f2c754
2016-01-14 15:31:39 -08:00
Winson
4b057c6787 Fixing crash when dismissing last stack task.
- The crash was due to us trying to get an anchor task when there were
  no more tasks in the stack.  The original call to check the stack
  task count was poorly named so updating the name of that call as well.

Bug: 26500050

Change-Id: I9652e90a6a2e19008c5c84ce877afca576b3175f
2016-01-14 15:31:35 -08:00
Winson
671e8f91aa Removing custom swipe helper.
Change-Id: Ic28ab343f86ab6f80d8c0409a3218513bd8880af
2016-01-14 15:31:16 -08:00
Winson
5500390a00 Reducing numerous extraneous allocations.
Change-Id: Icca49f12a9e0be08eb6d4dbbbf2fd5994a3a25a5
2016-01-14 15:23:38 -08:00
Winson
407d8d08f0 Ensure that the front-most task never dims when scrolling the stack.
Change-Id: I370311b78203c079c4bbfa67753da13f91a15cbc
2016-01-14 15:23:34 -08:00
Winson
3e87474145 Improving drag and drop animations.
- Expanding drop targets to indicate the size of the to-be docked window
- Fixing animation when dropping task
- Fixing drag view z order
- Fixes issue where the dock divider position in WM is not exact
- Requiring user to move the slop distance before accepting drops

Change-Id: I2f6eab504db7126c19e0c680629e89a39e7512e3
2016-01-14 15:23:20 -08:00
Winson Chung
c7abf52091 Merge "Indicator for task auto-select" 2016-01-14 23:13:59 +00:00
Philip P. Moltmann
cde1c2a717 Merge "Clean up API for PrinterInfo." 2016-01-14 22:51:39 +00:00
Peter Schiller
b124d5607f Indicator for task auto-select
Change-Id: I081222b84a5f90e77890724977821ed481fe3924
2016-01-14 14:37:11 -08:00
Sanket Agarwal
1bec6a5b0d Add support for AVRCP 1.3.
* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
  initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
  A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
  A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
2016-01-14 21:59:33 +00:00
Philip P. Moltmann
c2ad22663b Clean up API for PrinterInfo.
- Make immutable
- Check parameters
- Check state while unparcelling

Change-Id: I13959845ca508936331488506380e894f49abf25
2016-01-14 12:48:31 -08:00
Xiyuan Xia
1b30f79cff Refactoring for better extendability
- Exposing members of PhoneStatusBar, StatusBarKeyguardViewManager and
  KeyguardBouncer to sub class;
- Add a configuable SystemUIFactory as class factory for components;
- Add logoutCurrentUser and switchToByUserId to UserSwitcherController;

BUG:22407003
Change-Id: I3902baf3c721d89217b27a6310c4202a198cb209
2016-01-14 09:47:57 -08:00
Bartosz Fabianowski
f9bf6da6cd Add WifiConfiguration.shared flag
am: 6fb0756d2f

* commit '6fb0756d2f59d70507919350f6192718b5d3f630':
  Add WifiConfiguration.shared flag
2016-01-14 17:24:52 +00:00
Ben Kwa
e2610c4148 Merge "Swap in the correct home icon." 2016-01-14 17:19:36 +00:00
Dan Sandler
b3f1109d99 Supply content description for QS disconnect buttons
Bug: 26555270
Change-Id: I3803c7ad78a64894eca5c36f5d9ecf7fc4a6ad92
2016-01-14 11:38:35 -05:00
Sudheer Shanka
659133c77b Merge "Made changes to padlock support for preferences." 2016-01-14 16:38:35 +00:00
Sudheer Shanka
ea088af5c1 Made changes to padlock support for preferences.
- Currently, if a preference is disabled by admin, we add a padlock and disable
the preference. And now if the preference is enabled in some other place, the
padlock is not removed. Updated RestrictedPreference to fix this
behavior.
- Made RestrictedPreferenceHelper and
RestrictedPreferenceHelper.onAttachedToHierarchy public so that preferences in
Settings can use these.
- Put a check for null to avoid NullPointerException.
- Removed a redundant statement.

Change-Id: Ie88a761dc38c58a680c62b3703d2081c67462079
2016-01-14 16:25:56 +00:00