21557 Commits

Author SHA1 Message Date
Geoff Mendal
978a766274 Import translations. DO NOT MERGE
Change-Id: I8f61c185a1b79c10ec8e437401d82a44d28c4796
Auto-generated-cl: translation import
2016-01-27 05:41:07 -08:00
Rakesh Iyer
e13d22a62d Merge "Allow smart unlock right after boot." 2016-01-27 06:03:01 +00:00
Winson
4b9cded143 Enabling fast switching for all users.
- Consolidating notion of fast toggling and indicator in the tuner - if 
  it is enabled, the indicator will be enabled
- Upon entering recents, immediately enable the timer to jump to the 
  previous task
- Allowing for multiple durations in the first and subsequent toggles
- Disabling fast-toggle on freeform devices and when touch exploration 
  is enabled
- Simplifying UserInteractionEvent to a reusable event

Change-Id: Id1ca3cd035f4eded5141b2b333a2cab5434b79ee
2016-01-26 21:05:06 -08:00
Felipe Leme
888b432a27 Merge "Send broadcasts as foreground, otherwise test might fail when running after reboot." 2016-01-27 02:19:20 +00:00
Felipe Leme
ec17538d46 Send broadcasts as foreground, otherwise test might fail when running
after reboot.

BUG: 26805230
Change-Id: I05dcf9871c9b4c4c9a465466d60ebe9a1ac63e51
2016-01-26 18:17:15 -08:00
Winson Chung
80a5314ad3 Merge "Fixing notification of the docked stack state for the current user." 2016-01-27 01:50:20 +00:00
Tomasz Mikolajewski
8012366ac4 Merge "Wire multi-parents support for moving to DocumentsUI." 2016-01-27 01:42:35 +00:00
Tomasz Mikolajewski
b8436af1b8 Wire multi-parents support for moving to DocumentsUI.
Bug: 26481380

Change-Id: Ief7db8f8abeca94e47832995fd0e2a6f31bfbc93
2016-01-27 10:40:04 +09:00
Jorim Jaggi
f3e87908cd Merge changes I10224452,I7af4149f
* changes:
  Grow recents when in multi-window on phones
  Add animation when docking top task with long press
2016-01-27 01:21:00 +00:00
Winson
dcf4826c52 Fixing notification of the docked stack state for the current user.
- When there are multiple users, ensure that we check that there are
  tasks in the docked stack for each user (instead of just the presence
  of the docked stack) and re-notify listeners of the state of the
  docked stack when the user is switched.

Change-Id: I911c4a32db187f9cd29d462309bd0cf7febb1993
2016-01-27 01:11:13 +00:00
Shishir Agrawal
05a7dfc48d Merge "Unhiding MSIM APIs." 2016-01-27 00:32:26 +00:00
Youngsang Cho
d475e1a27c Merge "Handle TaskStackListener.onPinnedActivityRestartAttempt in PIP system UI" 2016-01-26 23:58:05 +00:00
Rakesh Iyer
a7aa4d6f0b Allow smart unlock right after boot.
This change enables relaxing the constraint by which
strong authentication is needed after device reboot.

There are very limited use cases where this might be
safe, one of which is in a car. Cars head units usually
are protected physically by the car and have hardware
anti-theft mechanisms so we can potentially allow for
Android to allow users to use smart unlock to avoid the
lockscreen just after boot.

This change adds in a config flag that sets the default
trust flags, which can be set to allow smart unlock after
boot for car head units.

Bug: 26559008
Change-Id: Id6338a97b617ddaf3d2fae5d51235429a42b81cc
2016-01-26 15:57:29 -08:00
Selim Cinek
61633a8db8 Added bigger notification paddings above and below groups
Bug: 24866646
Change-Id: I0bca7a1abcbc0fa816aeed5729e650de24f523f0
2016-01-26 15:30:28 -08:00
Selim Cinek
277a8aa409 Replacing alpha with shadowAlpha
Change-Id: I1fc75e395321d77fb959dd3e8ce520bd8378cfeb
2016-01-26 15:30:28 -08:00
Selim Cinek
cacc604115 Fixed the divider height to be at least 1px high
Also adapted the children divider to be consistent

Change-Id: I158167f70e9e0bc9e251785078a4b271720919c5
2016-01-26 15:30:28 -08:00
Selim Cinek
d35c2793a3 Added transparency to the notification backgrounds on the lockscreen
To achieve a decent lockscreen animation we also need to account for alpha.

Change-Id: Iba75f9c304962da309e0e2d32a58d757b6607b5b
2016-01-26 15:30:28 -08:00
Selim Cinek
614576e37b Animating background of the notifications now
Change-Id: Ia94e1a0ca67922e6983697dfbc68d5681de02f7e
2016-01-26 15:30:28 -08:00
Selim Cinek
6811d728fb Drawing the background of the notifications as a grey color now
Some cases are still not working perfectly as the background is
never animating

Change-Id: I4b357161d53d62f4cf5c0fbf76e70e5f3465bd68
2016-01-26 15:30:28 -08:00
Selim Cinek
c18010f672 Refactored the interpolators to use only one single instance
Previously many objects parsed their own interpolators leading
to memory and computational overhead.
This is now unified into a single Static class.

Change-Id: I0537aca0e6dad10a7ffd52ba64b7356b0c5e4672
2016-01-26 15:30:28 -08:00
Selim Cinek
4fd5dfc1c3 Removed the visual speedbump
Change-Id: Iaacfc75ba691db07522e9d1d893aecd6b3be6338
2016-01-26 15:30:28 -08:00
Selim Cinek
587cbf30a7 Remove the scale animation from the lockscreen
With fullbleed notifications don't scale anymore when clicked.

Change-Id: I75fadb5e6ccb7f12ca8fc1cb9459c6d9576f4abd
2016-01-26 15:30:28 -08:00
Selim Cinek
33d4614dfe Removed notification top padding
Moving more to fullbleed

Change-Id: I28e52963315bbec37819a355dc3f198431e9daee
2016-01-26 15:30:28 -08:00
Selim Cinek
ca85ef8537 Removed round rect clipping for notifications and qs
Change-Id: I82459dabb2b41e414d46b624eeb6dae5773acc66
2016-01-26 15:30:28 -08:00
Selim Cinek
924c612b87 Removed notification side paddings
Removed all notification paddings on the side.
Bug: 24866646

Change-Id: I1a3e7b9ec5156cb953e06a83afa72c5ad36a2025
2016-01-26 15:30:28 -08:00
Victor Chan
a88abe084e Merge "Use vector drawables for icons on car navbar" 2016-01-26 23:16:20 +00:00
Philip P. Moltmann
e33b954165 Merge "Check parameters for callers of IPrintManager" 2016-01-26 22:52:58 +00:00
Sudheer Shanka
39cef94f1a Made checkIfkeyguardNotificationFeaturesDisabled more generic.
Currently, it can be only used for checking the status of keyguard
notification features, made it generic so that it can be used for
other keyguard features like disable_fingerprint etc.

Change-Id: Ib2adfc12d7866cce248af78cc8b159cada9a6cad
2016-01-26 22:34:41 +00:00
Ben Kwa
c88509754a Merge "Add MetricsLogger calls to DocumentsUI." 2016-01-26 22:30:45 +00:00
Sudheer Shanka
6e3e9fc359 Merge "Add util method to get the admin who set maximum time to lock." 2016-01-26 22:29:41 +00:00
Rakesh Iyer
6d03819aa1 Merge "Fullscreen user switcher layout tweaks." 2016-01-26 22:25:29 +00:00
Victor Chan
4d8c66bd36 Use vector drawables for icons on car navbar
Adjusting CarNavigationButton layout so that vector
drawables are properly scaled/rendered in the car navigation bar.

Change-Id: I71fdfd0d863049a63abf11c41f46c950ed7e309e
2016-01-26 14:18:31 -08:00
Ben Kwa
723799858a Add MetricsLogger calls to DocumentsUI.
- Create new categories in MetricsLogger for DocumentsUI events.
- Add logging code to DocumentsUI for launch events and viewing roots.

BUG=26737132

Change-Id: Ib703878a39dd03b57e68a4d5a1d6cf8fe2936c5a
2016-01-26 14:15:42 -08:00
Victor Chan
c0ca9e5a3f Add Intent extras for package names and categories
CarNavigationBarController will now pass in package names and
categories when starting the Intent for a selected facet.

Change-Id: I9f0a520f28eea105f845881819146d01fddbae92
2016-01-26 14:12:46 -08:00
Julia Reynolds
ec0c2d8fde Merge "Visual interruptions: stop more full screen intents." 2016-01-26 22:08:28 +00:00
Jason Monk
f641858497 Merge "Make suggestions handle string or int" 2016-01-26 22:04:16 +00:00
Jason Monk
ca7ec8a547 Make suggestions handle string or int
Evidently metadata bundles turn a single int into an integer rather than a
string without telling you.

Change-Id: I5c6557bad51981f27a7e213052e2be5bcc3a0a93
2016-01-26 17:01:00 -05:00
Julia Reynolds
0971cb076d Visual interruptions: stop more full screen intents.
The user options for 'no screen interruptions' needs to stop
peeks and full screen intents when the screen is on.

Bug: 25423508
Change-Id: I49b1c40552c3506fae259364a4d5e49168c8de36
2016-01-26 17:00:22 -05:00
Shishir Agrawal
7ea3e8bf89 Unhiding MSIM APIs.
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
2016-01-26 13:47:27 -08:00
Xiaohui Chen
3104d634a1 Merge changes from topic 'xc_remove_shelf'
* changes:
  sysui: remove shelf
  DO NOT MERGE sysui: remove shelf
2016-01-26 21:26:35 +00:00
Julia Reynolds
92d456e9a6 Show app level settings when an app doesn't use topics.
Change-Id: I205062868ac3a44aa24a29bcb82a9374026287a7
2016-01-26 15:43:10 -05:00
Jorim Jaggi
cdb06caebb Grow recents when in multi-window on phones
- Make sure all methods in RecentsImpl are called from the main thread.
- On secondary users, call dockTopTask in correct process.
- When opening recents, split it differently when on phones.

Change-Id: I10224452b1a9c0ae691d64cceeae5bb93cc4f6d8
2016-01-26 12:21:29 -08:00
Jason Monk
5d269c758b Merge "Updates to SuggestionParser" 2016-01-26 19:52:54 +00:00
Rakesh Iyer
df727cb559 Fullscreen user switcher layout tweaks.
The hard coded padding between the disclaimer text and
the UserGridView was causing troubles with smaller screen
sizes so use layout weights instead to achieve the same
results.

Bug: 26749378
Change-Id: I8a3b0784696ad14ec8f9f99a2af649f43d187307
2016-01-26 11:40:51 -08:00
Jason Monk
294efa57ca Updates to SuggestionParser
Added support for feature requirements and return after dismiss delays.

Change-Id: I80e80a55817cd4d9717876e34fc591b3dd3228f1
2016-01-26 14:40:16 -05:00
Xiaohui Chen
0691703467 sysui: remove shelf
Bug: 26742568
Change-Id: I10bbf55b4b93fb5d360a56dcc59c943d8806a27e
2016-01-26 11:32:20 -08:00
Xiaohui Chen
e9dab0dade DO NOT MERGE sysui: remove shelf
Bug: 26742568
Change-Id: I36bd013c4adb62b76b6f2789aa490c1484a535d7
2016-01-26 11:31:51 -08:00
Philip P. Moltmann
b18cacfcad Merge "Carry over orientation when updating the printAttributes with the capabilities of the printer." 2016-01-26 18:24:15 +00:00
Ben Kwa
bae1c3482c Merge "Temporarily fix directory tile heights in grid mode." 2016-01-26 18:11:44 +00:00
Ben Kwa
70921871ba Temporarily fix directory tile heights in grid mode.
BUG=26760493

Change-Id: I118e30cdf3892ef6857735f4a4f69a128b3f1c36
2016-01-26 10:08:24 -08:00