Commit Graph

7625 Commits

Author SHA1 Message Date
Caitlin Cassidy
6653a6d862 Merge "[Device Controls] Handle taps correctly when the tile is in an inactive state." into sc-dev am: d4c8951618 am: 03d1edf791
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14805950

Change-Id: I6c00c1a97f9ea9e5abe0442bffb824bec0869e5f
2021-06-04 14:29:53 +00:00
Caitlin Cassidy
d4c8951618 Merge "[Device Controls] Handle taps correctly when the tile is in an inactive state." into sc-dev 2021-06-04 13:54:08 +00:00
Selim Cinek
5beead2b9d Merge "Scaling back the wallpaper + blurring when dragging down on LS" into sc-dev am: 2d792d0af9 am: e5fd3715dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14800434

Change-Id: Ib5badd78c876561898773771b24ca7635927be1f
2021-06-04 13:35:45 +00:00
Selim Cinek
2d792d0af9 Merge "Scaling back the wallpaper + blurring when dragging down on LS" into sc-dev 2021-06-04 13:16:43 +00:00
Joe Bolinger
28b70ca276 Merge "Fix feedback and animations for face to fingerprint fallback authentication." into sc-dev am: 896ac3e18f am: 9c613a484d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14823790

Change-Id: I955d7a878a8e8a917e633efa902e89ffedfc7dbb
2021-06-04 10:44:45 +00:00
Ilya Matyukhin
3e87c95970 Merge "Refactor the HBM layer and add completion callbacks" into sc-dev am: bfc5b7abeb am: 2820eb892e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14826346

Change-Id: I85819d98579d90cff6e345aa19d023765f5e11c1
2021-06-04 10:41:59 +00:00
Selim Cinek
fedad0162b Scaling back the wallpaper + blurring when dragging down on LS
Previously, the wallpaper didn't react during drag down.

Bug: 184946919
Test: drag down on lockscreen, observe animation happening
Change-Id: I67e0d819a81cc1f9c765a50cfef7767c08dccfc8
2021-06-04 10:37:40 +02:00
Joe Bolinger
896ac3e18f Merge "Fix feedback and animations for face to fingerprint fallback authentication." into sc-dev 2021-06-04 00:12:40 +00:00
Joe Bolinger
9f685a9fa7 Fix feedback and animations for face to fingerprint fallback authentication.
Bug: 189164072
Test: atest com.android.systemui.biometrics com.android.server.biometrics
Change-Id: I7fe8085dc4a4994c591bb4be20309ffb46bb06e9
2021-06-03 14:41:29 -07:00
Ilya Matyukhin
eaa8669035 Refactor the HBM layer and add completion callbacks
Bug: 187081118
Test: atest UdfpsControllerTest
Change-Id: Ief24c426baa2acd34719581fed0a5ef112cb7d64
2021-06-03 20:28:48 +00:00
Caitlin Cassidy
9f6ddda4df [Device Controls] Handle taps correctly when the tile is in an inactive
state.

Test: Manual + new unit tests
Fixes: 189446872
Change-Id: Ia688a002c3d893bd61678f7572c0cb0f60e46105
2021-06-03 19:27:55 +00:00
Jason Hsu
f79f512be7 Merge "Maintain the position of accessibility floating menu" into sc-dev am: f57262c38d am: 7ae0698c58
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14427396

Change-Id: Id3d4d1c31a5f3b3431bcec97e96b05ee29592bdc
2021-06-03 16:19:36 +00:00
Jason Hsu
f57262c38d Merge "Maintain the position of accessibility floating menu" into sc-dev 2021-06-03 15:45:04 +00:00
Beth Thibodeau
e77df8f538 Merge "[DO NOT MERGE] Move code to fix studio build" into sc-dev 2021-06-03 15:38:45 +00:00
Caitlin Cassidy
3d539a878c Merge "[Device Controls] In the device controls QS tile, have the subtitle show the preferred structure name." into sc-dev am: 2cca71c0bf am: 85019397d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14801410

Change-Id: Ib417fe55d87265f1283f7b7623284453346ec3ee
2021-06-03 15:17:30 +00:00
Caitlin Cassidy
2cca71c0bf Merge "[Device Controls] In the device controls QS tile, have the subtitle show the preferred structure name." into sc-dev 2021-06-03 14:57:10 +00:00
Dave Mankoff
9876dabd74 Merge "Don't destroy the FalsingManager in Wallet." into sc-dev am: d3cd5bb67b am: e358370876
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14788974

Change-Id: Id4bc18e00c1759bafd82489b05faefd514e8f706
2021-06-03 14:30:07 +00:00
Dave Mankoff
d3cd5bb67b Merge "Don't destroy the FalsingManager in Wallet." into sc-dev 2021-06-03 13:58:12 +00:00
jasonwshsu
d2f7022ad1 Maintain the position of accessibility floating menu
* Use percentage of X-aixs and Y-axis as last position, so it could be
restored at approximately position when device screen size changed.
* Fine-tune AccessibilityFloatingMenuViewTest

Bug: 183342667
Test: atest AccessibilityFloatingMenuViewTest PositionTest
Change-Id: I58ed608a03bc20f15a9d0852c95907107516c9ba
2021-06-03 21:41:27 +08:00
tim peng
edb6f9182f Merge "The Cast volume UI doesn't show up" into sc-dev am: 5050fdd9df am: 9ce32668b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14796823

Change-Id: Ibdba69da428a0671661c4b539876ac6d811d70c1
2021-06-03 11:16:56 +00:00
tim peng
5050fdd9df Merge "The Cast volume UI doesn't show up" into sc-dev 2021-06-03 10:17:07 +00:00
Jason Hsu
ddb4667346 Merge changes Iad3b9eb3,I052a5729 into sc-dev am: c2c8144656 am: e73160cd70
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14683434

Change-Id: I2b3c3675c1b23297af30a71fc1ca3e0f4627e22d
2021-06-03 05:51:07 +00:00
Jason Hsu
c2c8144656 Merge changes Iad3b9eb3,I052a5729 into sc-dev
* changes:
  Handle accessibility floating menu when switching users
  Show accessibility floating menu after user unlock their phone
2021-06-03 05:13:50 +00:00
Lucas Dupin
c8869140cf Merge "Apply colors a bit earlier when switching users" into sc-dev am: 2178808d93 am: 00fcdf5586
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14807135

Change-Id: I409e920778d38d835d1a7620e631bb38ea8d653d
2021-06-03 02:52:43 +00:00
Lucas Dupin
d1524f6fdf Merge "Crash in com.android.systemui.tests, java.lang.IllegalStateException" into sc-dev am: 0ac508fa1f am: e76d711ad3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14776100

Change-Id: I6aa22413df4c4999127331971d9bddffaa6a226a
2021-06-03 02:28:53 +00:00
Minche Li
0a1840d42c Merge "Keeps the Y position with the same height ratio before the window height is changed" into sc-dev am: a39327f045 am: 6c7455b2e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14776093

Change-Id: Iff1f85a57ae864c547de1077f429e5453d5c2253
2021-06-03 02:28:08 +00:00
Lucas Dupin
2178808d93 Merge "Apply colors a bit earlier when switching users" into sc-dev 2021-06-03 02:20:24 +00:00
Lucas Dupin
0ac508fa1f Merge "Crash in com.android.systemui.tests, java.lang.IllegalStateException" into sc-dev 2021-06-03 01:48:10 +00:00
Minche Li
a39327f045 Merge "Keeps the Y position with the same height ratio before the window height is changed" into sc-dev 2021-06-03 01:39:20 +00:00
Lucas Dupin
5c622549f4 Merge "Avoid overlap when fading notifications in" into sc-dev am: c50e8c3afe am: b90717c8bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14804231

Change-Id: Ibd83670a67e51a3e20f96b27afc702a98de43960
2021-06-03 00:57:38 +00:00
Lucas Dupin
c50e8c3afe Merge "Avoid overlap when fading notifications in" into sc-dev 2021-06-03 00:37:02 +00:00
Lucas Dupin
e02895a32f Apply colors a bit earlier when switching users
ACTION_USER_STARTED is dispatched a bit earlier than
ACTION_USER_SWITCHED.

Test: atest ThemeOverlayControllerTest
Bug: 189075412
Change-Id: Iabd6e3bffede4caa53c6bcc61fbf17a2b8de9c55
2021-06-02 17:29:42 -07:00
Beth Thibodeau
123a85fda1 [DO NOT MERGE] Move code to fix studio build
Move actual implementation here because it was causing studio build to
fail. The device-specific values are already overlaid where necessary to
enable/disable the info panel from showing up

Bug: 183032541
Test: manual
Test: atest GlobalActionsInfoProviderTest
Change-Id: I3ea09c99f1d949488f28b71875fdd8bdadb93c7a
2021-06-02 23:40:04 +00:00
Lucas Dupin
0fb7f056de Avoid overlap when fading notifications in
This CL reduces the number of awkward overlaping frames, where the scrim
is partially visible on top of the app while notifications are also
semi-transparent.

One great benefit of this CL, as well, is that it avoids overdraw,
drawing notifications after the shade window becomes opaque.

Test: using jank scripts
Test: manual
Fixes: 189964129
Change-Id: Ie2fe23aba101bc4c4a5692f999d672e79ddf8e0a
2021-06-02 15:20:57 -07:00
Caitlin Cassidy
7df119458e Merge "[Ongoing Call] Use the notification's key to identify when to remove the ongoing call chip, rather than the notification's template." into sc-dev am: 2bc4662bc1 am: 31ef30e701
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14739253

Change-Id: Icda13a3a0cb07417005e6adee4d0d7d903e405ec
2021-06-02 21:43:00 +00:00
Caitlin Cassidy
9766a0e702 [Device Controls] In the device controls QS tile, have the subtitle show the preferred structure name.
Fixes: 186428336
Test: Manual
Change-Id: I81953e7ae82fd1c8bf418a7f2251eef8554241ad
2021-06-02 21:42:11 +00:00
Caitlin Cassidy
2bc4662bc1 Merge "[Ongoing Call] Use the notification's key to identify when to remove the ongoing call chip, rather than the notification's template." into sc-dev 2021-06-02 21:11:06 +00:00
Kevin Chyn
13a0087ef2 Merge changes I2eebe329,I81f1dfc1 into sc-dev am: bc77821e7d am: 36992991bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14791442

Change-Id: I35c85a81c5e838e7e78f76824a49cb6cb48a3018
2021-06-02 20:19:34 +00:00
Kevin Chyn
bc77821e7d Merge changes I2eebe329,I81f1dfc1 into sc-dev
* changes:
  Turn off HBM when AcquiredInfo#GOOD
  Do not handle requests on system_server thread
2021-06-02 20:06:11 +00:00
Caitlin Cassidy
9fc7708b5e [Ongoing Call] Use the notification's key to identify when to remove the
ongoing call chip, rather than the notification's template.

See b/188491504#comment32 for rationale.

Test: Manual + new unit tests
Fixes: 188491504
Bug: 183229367
Change-Id: Ic3c02f0b6b4742d66c58459d5999e841bbf378c0
2021-06-02 18:45:08 +00:00
Kevin Chyn
f6ff170d53 Turn off HBM when AcquiredInfo#GOOD
Prevent unnecessary use of HBM. This change decouples illumination
state from touch state. onFingerUp should always be called whenever
the finger leaves the HBM area, and not only when illumination was
requested (isFingerDown was actually isIlluminationRequested()).
Moves the check to onFingerUp to stop illumination only if illumination
was actually happening.

Bug: 187460696
Test: atest UdfpsControllerTest

Change-Id: I2eebe32990761d2fbf86cab228e4a7221a209b42
2021-06-02 09:29:35 -07:00
Dave Mankoff
b4935a25ca Don't destroy the FalsingManager in Wallet.
When FalsingManager#cleanupInternal is called, it no longer produces
valid results. With this change, we check that the FalsingManager
is not used after being destroyed, and also avoid destroying it in
WalletScreenController.

Fixes: 188174214
Test: manual
Change-Id: I0ce67de5a326b56dee11c1d63c1d592640c0713d
2021-06-02 09:50:16 -04:00
Tim Peng
c4766db67f The Cast volume UI doesn't show up
-Call startScan() in SettingsLib and remove redundant api

Bug: 176774510
Test: atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest MediaOutputGroupAdapterTest MediaOutputGroupDialogTest
Change-Id: I2a2f704f72f0eb056bb0d68fc10f34dbc117f07a
2021-06-02 17:45:03 +08:00
jasonwshsu
054e2502bc Handle accessibility floating menu when switching users
* When switching users completed and keyguard is not show, show accessibility floating menu.

Bug: 184620963
Bug: 173938894
Test: atest AccessibilityFloatingMenuControllerTest AccessibilityButtonModeObserverTest AccessibilityButtonTargetsObserverTest SecureSettingsContentObserverTest
Change-Id: Iad3b9eb3dea1cb0b7828f00f3221f8c6869a7471
2021-06-02 15:34:56 +08:00
jasonwshsu
96fbf55efd Show accessibility floating menu after user unlock their phone
* Accessibiltiy floating menu needs to retrieve information from AccessibilityManagerService and it will be ready before receiving onUserUnlocked()
* When enter the lockscreen, destroy the accessibility floating menu; when exist the lockscreen, show the accessibility floating menu.

Bug: 184272107
Bug: 178285746
Test: atest AccessibilityFloatingMenuControllerTest
Change-Id: I052a57296fab2afa243bd6b696bdfdb4235599a3
2021-06-02 15:31:33 +08:00
mincheli
140d3d6ac6 Keeps the Y position with the same height ratio before the window height is changed
It's UI polishment.
When the device is rotated, the Y position of magnification switch button should have the same height ratio (Y position / Window height).

Bug: 189715285
Test: atest MagnificationModeSwitchTest
Change-Id: I3f4b0d14bc0f59487e43298d6425171f299a6a72
2021-06-02 14:13:10 +08:00
mincheli
e4ac0f019e Adds accessibility actions for magnification switch button to move layout position am: f142b5a368 am: e1a613adb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14781659

Change-Id: Id17d8fa2afc502e25d529e76dda2e93b1a607ff1
2021-06-02 04:12:37 +00:00
Minche Li
60250becd8 Merge "Adjusts the draggable bounds with the display cutcout" into sc-dev am: 9cc5e58c98 am: 5908ea30b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14709633

Change-Id: Ia5f7960de229ed5b79745cabe9ab2d97da30160d
2021-06-02 03:40:24 +00:00
mincheli
f142b5a368 Adds accessibility actions for magnification switch button to move layout position
To fulfill the need of GAR, switch access users may need the support of
accessibility actions to move the switch button position.

Bug: 189096761
Test: atest MagnificationModeSwitchTest
Change-Id: Ia2b63c439f1b0e18cddcd0444dc3fa5971795d8c
2021-06-02 03:26:35 +00:00
Minche Li
9cc5e58c98 Merge "Adjusts the draggable bounds with the display cutcout" into sc-dev 2021-06-02 02:53:06 +00:00