Commit Graph

40372 Commits

Author SHA1 Message Date
Beth Thibodeau
8c53befc02 Merge "Collapse shade for buttons that launch activities" into sc-dev am: dbd8e89bff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15000577

Change-Id: Ib1a7927b1c74088a4cc186cc99fa02da2e4c0c22
2021-06-21 11:57:44 +00:00
Silin Huang
f6c882a5cf Merge "Wallet screen UI Polish:" into sc-dev am: bcb0c0f85b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15027380

Change-Id: Ie7d135d398038ad10e5bb86644af7fe42ac50e81
2021-06-21 11:57:31 +00:00
Winson Chung
2725991d00 Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev am: 979fe90f43
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14964835

Change-Id: Id664fec0301032a52271e738442b1bf52aa96cf5
2021-06-21 11:55:56 +00:00
Rajeev Kumar
fd42bbf4f1 Merge "Introduce config for auto-created guest users" into sc-dev am: c8445b7357
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14795193

Change-Id: I28f05f36cb9126c257e0613627059bde1568ec84
2021-06-21 11:55:24 +00:00
Ilya Matyukhin
cbe7b53886 Merge "Add device-specific illumination transition time" into sc-dev am: ea80426e73
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15023573

Change-Id: I83d1e398861cc3b40d832d5ecaa66f9748c6191b
2021-06-21 11:51:52 +00:00
Jeff DeCew
ec2b3c1987 Merge "Convert CharSequence toString for the fallback Remote Input History view." into sc-dev am: 6d2dfdfc00
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14949554

Change-Id: Ie45e11561d25384881c9f717067eb5451376584e
2021-06-21 11:47:37 +00:00
Miranda Kephart
2a35f22b74 Merge "End screenshot animation early on layout change" into sc-dev am: 719cd831a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14922737

Change-Id: I0b9c2616103a24e5ec3a18e3761887308afb78fe
2021-06-21 11:46:17 +00:00
TreeHugger Robot
7b1bec9722 Merge "WakefulenessLifecycle: start out as AWAKE for NFFs" into sc-dev am: fb5a9a52aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15012790

Change-Id: I692316900aa4446be252a9bb30e5d16d7929e6ac
2021-06-21 11:45:47 +00:00
Jeff DeCew
b0f3c9d71c Merge "Remove dividers when expanding groups." into sc-dev am: 5f1b2bdd50
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15013931

Change-Id: I5312f310c16cce4424d286ee36911023f9ba5a10
2021-06-21 11:45:12 +00:00
Beth Thibodeau
dbd8e89bff Merge "Collapse shade for buttons that launch activities" into sc-dev 2021-06-18 23:57:05 +00:00
Silin Huang
bcb0c0f85b Merge "Wallet screen UI Polish:" into sc-dev 2021-06-18 22:14:44 +00:00
Winson Chung
979fe90f43 Merge "Add cached state to prevent blocking calls from SysUI->Shell" into sc-dev 2021-06-18 21:34:29 +00:00
Rajeev Kumar
c8445b7357 Merge "Introduce config for auto-created guest users" into sc-dev 2021-06-18 20:46:16 +00:00
Ilya Matyukhin
ea80426e73 Merge "Add device-specific illumination transition time" into sc-dev 2021-06-18 19:52:53 +00:00
Silin Huang
5097a4fbd6 Wallet screen UI Polish:
1. update the fading effect for action button.
2. the action button will depend on whether the card above it has the
second line label.
3. update the options menu item background to 1 shade lighter grey.

Test: manual, see demo:
https: //drive.google.com/file/d/1TLc6t1Ola6G_QiU0yadWdh1nLbQnEJ7g/view?usp=sharing&resourcekey=0-f1qKR8nLjvo0VrtLqKBE9w
Bug: 190760488
Bug: 190531125
Change-Id: I012694e9ff0a252f6ce918043f6bf7dcd01ba97e
2021-06-18 12:35:17 -07:00
Jeff DeCew
6d2dfdfc00 Merge "Convert CharSequence toString for the fallback Remote Input History view." into sc-dev 2021-06-18 15:30:25 +00:00
Miranda Kephart
719cd831a9 Merge "End screenshot animation early on layout change" into sc-dev 2021-06-18 14:56:04 +00:00
TreeHugger Robot
fb5a9a52aa Merge "WakefulenessLifecycle: start out as AWAKE for NFFs" into sc-dev 2021-06-18 14:03:26 +00:00
Jeff DeCew
5f1b2bdd50 Merge "Remove dividers when expanding groups." into sc-dev 2021-06-18 13:31:12 +00:00
Selim Cinek
67f04ed84b Merge "Fixed an issue where the top edge flickered" into sc-dev am: 4f0d02b4c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14964841

Change-Id: I30ae7296666fc3f088beb965482cd9eadfa401d1
2021-06-18 09:55:07 +00:00
Selim Cinek
4f0d02b4c8 Merge "Fixed an issue where the top edge flickered" into sc-dev 2021-06-18 09:39:55 +00:00
Ryan Lin
f99ab88d71 Merge "Fix incorrect boundary/appearance after folding the device" into sc-v2-dev 2021-06-18 08:57:34 +00:00
Vinit Nayak
52551c91fa Merge "Enable 3 button nav for taskbar" into sc-v2-dev 2021-06-18 05:43:40 +00:00
Lyn Han
caa61e6c5d Merge "Hide footer for empty shade even if bubbles are present" into sc-dev am: e2eda07955
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14949618

Change-Id: Iee2497e9e22ce17919be711d6c07f820c2a77c4f
2021-06-17 23:31:01 +00:00
Lyn Han
e2eda07955 Merge "Hide footer for empty shade even if bubbles are present" into sc-dev 2021-06-17 23:25:33 +00:00
Lyn Han
1e93f2a840 Hide footer for empty shade even if bubbles are present
Bubbles are counted as active notifications even if its shade notif is
hidden so we need to explicitly hide the footer when showing EmptyShadeView.

Fixes: 186037856
Test: have empty shade and bubble => footer hidden
Change-Id: Ia5798b9b3bd3f50a9028374941a8dd437365fcca
2021-06-17 16:49:35 -05:00
Peter Kalauskas
3d5d80cab4 Introduce config for auto-created guest users
Create a new frameworks config: config_guestUserAutoCreated.

If true,

 - Device should always have a guest user available.

 - Instead of showing "Add guest", the UI will show "Guest", and instead
   of "Remove guest", there will be an option to "Reset guest"

 - Guest user is always created on boot if it does not already exist

 - New guest user is created any time current guest user is removed

For now, these behaviors will be handled by System UI and Settings.

In addition, a few changes were made to System UI to simplify the code.
These changes may also affect devices running without the new config:

 - Move GuestResumeSessionReceiver.wipeGuestSession() to
   UserSwitcherController

 - New method: UserSwitcherController.createGuest()

 - Introduce dependency from KeyguardViewMediator to
   UserSwitcherController

 - Introduce dependency from GuestResumeSessionReceiver to
   UserSwitcherController

Bug: 188542158
Test: With config_guestUserAutoCreated=true, remove all guest users
      using adb (`adb shell cmd user list -v --all` to find the user
      ids, then remove each guest user with `adb shell pm remove-user
      <id>`), reboot device, check that there is a new guest on boot.
Test: With config_guestUserAutoCreated=true, reboot device when there is
      already a guest user, confirm that guest user was not wiped after
      reboot is completed.
Test: With config_guestUserAutoCreated=true, switch to guest user,
      select "Reset guest" from QS tile, select "Reset". Phone should
      switch back to last active user, and QS tile should now show
      "Guest" instead of "Add guest". Run `adb shell cmd user list -v
      --all` to confirm guest has a new user id.
Test: With config_guestUserAutoCreated=false, confirm that "Add guest"
      and "Remove guest" features remain unchanged
Change-Id: Ib1c8dd0a0796d95681167f51e12e3f4be21345af
Merged-In: Ib1c8dd0a0796d95681167f51e12e3f4be21345af
2021-06-17 14:24:09 -07:00
Robin Lee
0c090460fc WakefulenessLifecycle: start out as AWAKE for NFFs
WakefulessLifecycle is driven by KeyguardService, which doesn't always
exist. When it doesn't exist, mWakefulness will remain set to
WAKEFULNESS_ASLEEP, which prevents some UI bits from showing up. The
most important one to fix is VolumeDialogControllerImpl.

We also need to set the default value of mDeviceInteractive to true
since the callback will never come on a device without a keyguard
service.

Test: atest SystemUITests
Fix: 190357428
Change-Id: Ib4f67e756c9549d919ec8ae640abca044d7d651f
2021-06-17 22:39:52 +02:00
Miranda Kephart
da23820f40 End screenshot animation early on layout change
If the phone configuration changes (e.g. we switch orientations)
mid-animation into the corner, the destination bounds are no longer
correct, so we end up in a weird state. Ending the screenshot
animation early on configuration changes fixes this problem.

Bug: 190545541
Fix: 190545541
Test: manual (take screenshot in landscape, rotate while animation
is happening, observe results)

Change-Id: I53c44263f7994ee6c5c4f7a0b1cbb7df36b24afe
2021-06-17 15:43:56 -04:00
Beverly Tai
11add37964 Merge "Send AOD auth interrupt only after display state is ON" into sc-dev am: 7ed65c1d49
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14984537

Change-Id: Ie09c3cb09fd5f913c0d3218c3a363f833ac605ba
2021-06-17 19:40:03 +00:00
Vinit Nayak
4bf5a1d199 Enable 3 button nav for taskbar
Bug: 180046394
Test: Switched between gesture and button nav on
phone and tablet.

Change-Id: I14d05d050e766f9a8a2d44c4ec786af9dc24dd8c
2021-06-17 12:13:04 -07:00
Beverly Tai
7ed65c1d49 Merge "Send AOD auth interrupt only after display state is ON" into sc-dev 2021-06-17 19:02:28 +00:00
Ilya Matyukhin
8c1d1169d8 Add device-specific illumination transition time
Bug: 189130534
Test: perfetto
Change-Id: I70728e7d7f4d0217d001851ded5a95caef21c3dc
2021-06-17 11:38:07 -07:00
TreeHugger Robot
aa61cd5dbb Merge "Load wallpaper bitmap once instead of twice" into sc-dev am: 6d21beab20
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14985019

Change-Id: I8ebccab6372b9dea96e05978b822628bb63f20e1
2021-06-17 17:39:36 +00:00
Fabian Kozynski
6e09cff449 Merge "Store state of active TileService" into sc-dev am: 22a01eca60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14937370

Change-Id: I83eb1af12a97fc37de107be4600049cbe421e8e1
2021-06-17 17:38:44 +00:00
Michał Brzeziński
77412edb47 Merge "Hiding split shade media container when not needed" into sc-dev am: 0f6b5c9754
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14980861

Change-Id: I711c22d4af91aba7fc1fce73de5c8fc734cec44b
2021-06-17 17:38:30 +00:00
TreeHugger Robot
6d21beab20 Merge "Load wallpaper bitmap once instead of twice" into sc-dev 2021-06-17 16:48:50 +00:00
Jeff DeCew
a2f705e191 Remove dividers when expanding groups.
The logic needed a tweak because the HideDividersDuringExpand config wasn't being applied to the user-locked-expansion.

Fixes: 191187506
Test: expand and collapse groups a bunch
Change-Id: Ifc111233a041c14f58f921db55fd06f2040e1316
2021-06-17 12:06:04 -04:00
Fabian Kozynski
22a01eca60 Merge "Store state of active TileService" into sc-dev 2021-06-17 14:40:52 +00:00
Dave Mankoff
5a930d1da0 resolve merge conflicts of d2455e0c75 to sc-v2-dev
Bug: 191150828
Test: atest SystemUITests
Merged-In: I04c2acf528c48eba17a828017de5f70424c09e51
Change-Id: I4f4d128f65204f328118832d7078d46c21ab65d1
2021-06-17 14:17:16 +00:00
Michał Brzeziński
0f6b5c9754 Merge "Hiding split shade media container when not needed" into sc-dev 2021-06-17 14:17:06 +00:00
Dave Mankoff
d2455e0c75 Merge "Remove listeners when destroying GlobalActionsDialog." into sc-dev 2021-06-17 13:56:15 +00:00
Josh Tsuji
51cfcfd73c Merge "Disable screen off animation in situations where it currently looks bad." into sc-dev am: f3dd83dbae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14922150

Change-Id: I5a33da65d5c7ec77689348e123ff5c8f4838c763
2021-06-17 13:55:04 +00:00
Josh Tsuji
f3dd83dbae Merge "Disable screen off animation in situations where it currently looks bad." into sc-dev 2021-06-17 13:45:21 +00:00
TreeHugger Robot
189de9bc1d Merge "Catch bubbles exception in PeopleTiles" into sc-dev am: 2c95c7632a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14946990

Change-Id: I8620aac4c330a5ea9e57a52323ce60fb722a16e1
2021-06-17 13:37:35 +00:00
TreeHugger Robot
2c95c7632a Merge "Catch bubbles exception in PeopleTiles" into sc-dev 2021-06-17 13:26:52 +00:00
TreeHugger Robot
5b7b95fb26 Merge "KeyguardIndication text updates" into sc-dev am: 0ec737dab8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14986727

Change-Id: Iac5e780c9384467e4b4e3c97606397ff024111a3
2021-06-17 13:10:43 +00:00
TreeHugger Robot
0ec737dab8 Merge "KeyguardIndication text updates" into sc-dev 2021-06-17 12:48:23 +00:00
Robin Lee
e62779a673 Merge "SystemUI: add GlobalActionsComponent for tv [1/1]" into sc-dev am: 8766e5c15e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14974997

Change-Id: I2190061b00390c02b26da5debf659e8cba218b82
2021-06-17 09:38:36 +00:00
Robin Lee
8766e5c15e Merge "SystemUI: add GlobalActionsComponent for tv [1/1]" into sc-dev 2021-06-17 09:30:28 +00:00