Commit Graph

39497 Commits

Author SHA1 Message Date
PETER LIANG
5f21062746 Merge "Fix the menu on the left side should be moved out when clicking the extra touch region." into sc-dev 2021-05-18 00:29:14 +00:00
PETER LIANG
e22236ff01 Merge "Fix the tooltip view can't be adjusted under the change of display or font size." into sc-dev 2021-05-18 00:26:27 +00:00
TreeHugger Robot
07791ca5bb Merge "Update smartspace when clock updates." into sc-dev 2021-05-17 22:36:27 +00:00
TreeHugger Robot
5881d68cd4 Merge "Controls - Remove 'power menu' from strings" into sc-dev 2021-05-17 22:19:13 +00:00
TreeHugger Robot
1c59631852 Merge "AOD icons should initially be invisible" into sc-dev 2021-05-17 21:24:06 +00:00
TreeHugger Robot
211d685267 Merge "Show alt auth bouncer before input bouncer" into sc-dev 2021-05-17 20:39:02 +00:00
Caitlin Cassidy
84f9faa174 Merge "[Device Controls] Fix background not showing up." into sc-dev 2021-05-17 20:07:26 +00:00
Alex Mang
78c33943f0 Update smartspace when clock updates.
This is needed so that calendar and other time based updates are still received when in doze mode.

Bug: 187186900
Test: KeyguardClockSwitchControllerTest, manually on device
Change-Id: I2667b722fbde219063c719296de35946f536473b
2021-05-17 11:22:20 -07:00
TreeHugger Robot
0e95498ad3 Merge "Consider the clock detached if the keyguard isn't visible" into sc-dev 2021-05-17 18:19:40 +00:00
TreeHugger Robot
e265a992a6 Merge "Intent to LockscreenSettings page on wallet overflow menu clicked." into sc-dev 2021-05-17 17:48:18 +00:00
Tracy Zhou
07756fb349 Merge "[Live Tile] Do not allow rotation in Overview when home rotation is off" into sc-dev 2021-05-17 17:18:42 +00:00
TreeHugger Robot
bc563d803f Merge "Don't update biometricListenState on SB stateChange" into sc-dev 2021-05-17 16:53:23 +00:00
Caitlin Cassidy
1f0baa6393 [Device Controls] Fix background not showing up.
Root cause was that `this` on lines 353 and 354 was referring to the
ValueAnimator, not the clipLayer.getDrawable().apply{} that was started
on line 330. I refactored the code a bit so it uses fewer Kotlin idioms
but should be less error-prone, but let me know if you'd rather I just
update lines 353 and 354 to specify which `this` it's referring to.

Test: manual
Fixes: 187903455

Change-Id: I3505c1fc80f7dda6d6cc318b0dfa2754171b8a2b
2021-05-17 15:10:33 +00:00
Matt Pietal
0b77fde2cf Controls - Remove 'power menu' from strings
Update all strings to reference Quick Settings. When setting up
controls, directly link to the ControlsProviderSelectorActivity
instead of going through an intermediary screen that was only
necessary for the power menu.

Fixes: 187829179
Test: manual
Change-Id: Ida1cce6201f4dc3c16c533879df11ef9fee92c0b
2021-05-17 10:56:07 -04:00
Fabian Kozynski
90208a9ac1 Merge "Change the strings for work tile." into sc-dev 2021-05-17 14:56:03 +00:00
Beth Thibodeau
5184c1f6e5 Merge "Fix page indicator tint" into sc-dev 2021-05-17 14:41:15 +00:00
Beverly
acebac1d65 AOD icons should initially be invisible
Test: manual
Fixes: 186219378
Change-Id: I268273bf52a96638afae8de41fca5ac2b02ffd73
2021-05-17 09:01:29 -04:00
Beverly
fcda354146 Show alt auth bouncer before input bouncer
When expanding a notification, show the alt auth bouncer before the
input (pin/password/pattern) bouncer.

Test: manual
Fixes: 188154723
Change-Id: I7343aee221b962cc1f6cf683b777662f07206c02
2021-05-17 08:03:13 -04:00
Beverly
d421a8d868 Don't update biometricListenState on SB stateChange
On StatusBarState change, don't immediately update
biometricListeningState or else it's possible we start face auth before
the device turns off. We rely on other signals to update the
biometricListeningState when all state (ie: dozing/sleeping) is properly
set.

This bug was introduced by ag/13020637 in a seemingly harmless small
refactor of KeyguardUpdateMonitor's mStatusBarState handling.

Test: atest KeyguardUpdateMonitorTest
Test: manual
Fixes: 187677463
Change-Id: I874273e1a5c9bd2d5e892702c4c154540cdc0a84
2021-05-17 11:14:34 +00:00
Peter_Liang
4cce564805 Fix the tooltip view can't be adjusted under the change of display or font size.
Solution:
Should update the latest resource value before showing the tooltip

Bug: 186484337
Bug: 186484718
Test: atest AccessibilityFloatingMenuViewTest
Change-Id: I088cebd454d1409c71da4e80eb36eeb819bacb39
2021-05-17 16:18:26 +08:00
Silin Huang
dbc335b1c1 Intent to LockscreenSettings page on wallet overflow menu clicked.
see demo:
https://drive.google.com/file/d/1qO2b5hS3tE8KQt1PtJBIeEJ8r_ti8PWw/view?usp=sharing&resourcekey=0-zZhi6fNdZGnveawEh3fxRA

Test: manual
Bug: 186496392
Change-Id: Id68faf3e2746f66e6633d5a25e64de3f0833d3ef
2021-05-17 02:57:30 +00:00
Selim Cinek
7f1f8d0bcd Merge changes from topic "lockscreen_shade_transition" into sc-dev
* changes:
  Implemented Lockscreen to shade transition
  Convert DragDownHelper to Kotlin
2021-05-15 09:47:38 +00:00
Beverly
f18b2894e4 Consider the clock detached if the keyguard isn't visible
Update AnimatableClockController's definition of attached to include
whether the keyguard is visible or not. This way, we won't animate
if the view isn't actually visible & we'll reset the clock state when
the keyguard is newly visible.

Only create a new AnimatableClockController onInit instead of
in the onAttach method for KeyguardClockSwitchController.

Fixes: 188203771
Test: manual
Change-Id: Id02132dba8b5392046cb46766aa64fd58e04a4ad
2021-05-14 16:22:18 -04:00
Peter Kalauskas
a74aa47b9e Merge "Add tests for shouldAnimate and onDoneButtonClicked" into sc-dev 2021-05-14 19:48:05 +00:00
Kevin Chyn
f7b45b69e5 Merge changes I9761c313,I25dacbfa into sc-dev
* changes:
  Prevent UdfpsView from being selectable during a11y enrollment
  Disable guided enrollment for a11y
2021-05-14 18:37:09 +00:00
Tracy Zhou
7ffe7418ea [Live Tile] Do not allow rotation in Overview when home rotation is off
In live tile mode, the live tile app is considered the top window and therefore rotation proposals are sent even when home rotation is disabled. To detect this, launcher needs to send over home rotation state, besides the nav bar needs to listen to recents animation state.

Fixes: 185962767
Test: manual

Change-Id: Ibc873d1067a8a3b37b6c20672cdb32ea356d9f21
2021-05-14 11:21:46 -07:00
Fabian Kozynski
0a63b4b8e7 Change the strings for work tile.
Secondary label is now handled the same as the other tiles.

Also, removed old unnecessary strings.

Test: manual
Fixes: 187155474
Change-Id: Iab9bbc292bea8b21c5b8fc8adfc079b2079e39a7
2021-05-14 14:18:40 -04:00
Tracy Zhou
ccbd8e1d02 Merge "Revert "Allow pulling down the status bar in visual immersive mode"" into sc-dev 2021-05-14 17:03:22 +00:00
Tracy Zhou
e8b19dcf9d Revert "Allow pulling down the status bar in visual immersive mode"
This reverts commit 9d14dbe89d.

Reason for revert: Likely broke tests
Bug: 188176340

Change-Id: I0c786e792322f7350b3bb16018ccb39e77a276a2
2021-05-14 17:02:55 +00:00
Selim Cinek
8304b95fad Implemented Lockscreen to shade transition
When dragging down on the lockscreen, we now pull down the quick
settings while dragging instead of wating for the release

Bug: 184946919
Test: atest SystemUITests
Change-Id: Ib233282dd7ce4ba63ceab3e1b788aa164e88c8c0
2021-05-14 17:20:19 +02:00
Lucas Dupin
1ecac1ab60 Merge "[ANR] Read device icon on the main thread" into sc-dev 2021-05-14 15:08:58 +00:00
Beth Thibodeau
ff15f21812 Merge "Update resume icon and colors" into sc-dev 2021-05-14 14:56:04 +00:00
Jamie Garside
f24f5c508d Merge "Renamed enableOneHandedBouncer to enableDynamicKeyguardPositioning." into sc-dev 2021-05-14 14:46:53 +00:00
Matt Pietal
989ea6ebda Merge "Wallet - Listen for setting changes" into sc-dev 2021-05-14 13:24:28 +00:00
Beverly Tai
7078fbe43c Merge "Immediately trigger face-auth on udfps bouncer" into sc-dev 2021-05-14 13:13:32 +00:00
Caitlin Cassidy
b8f98cfd7b Merge "[Ongoing Call Chip] Ensure the chip is at least 48x48dp for accessibility." into sc-dev 2021-05-14 11:59:02 +00:00
Caitlin Cassidy
168ba65337 Merge "[Ongoing Call Chip] Remove the chip when an ongoing call notification is updated to a non-ongoing call notification." into sc-dev 2021-05-14 11:58:18 +00:00
Selim Cinek
91579bde59 Convert DragDownHelper to Kotlin
Bug: 184946919
Test: build, test drag down behavior on lockscreen
Change-Id: I56eebf57a169ce6d22ad071d029135078a3b712b
2021-05-14 11:08:09 +02:00
Tracy Zhou
6b78883298 Merge "Allow pulling down the status bar in visual immersive mode" into sc-dev 2021-05-14 07:56:51 +00:00
Jason Chang
e8b62e4d23 Merge "(1/n) Disabling OHM gesture in NavigationBar 3 Button mode" into sc-dev 2021-05-14 07:40:34 +00:00
Peter_Liang
fecbe17f74 Fix the menu on the left side should be moved out when clicking the extra touch region.
Root cause:
less one aligment condition when computing extra touch region.

Solution:
Change the size of the extra touch region to the same as menu size.

Bug: 188123221
Test: manual test
Change-Id: I03862728d094450eca4bf08c4ec9db3df0b9e7b6
2021-05-14 15:09:18 +08:00
Beth Thibodeau
a6779413e2 Fix page indicator tint
Setting tint here was removed in the dark mode fix, but is still needed
for the page indicator to display properly

Fixes: 187486707
Test: manual
Change-Id: I4a24d86a7dcb64fe4854bec814b636ccf74ccab3
2021-05-14 02:25:11 -04:00
Lucas Dupin
1cee5ddce1 Merge "Fix colors for a11y" into sc-dev 2021-05-14 02:22:23 +00:00
Kevin Chyn
4c83e679c9 Prevent UdfpsView from being selectable during a11y enrollment
Touching the sensor area also selects the UdfpsView, which triggers
unnecessary feedback.

Fixes: 187324285
Test: manual
Change-Id: I9761c313d917f11fd42e0d584d6303d2150ce1a0
2021-05-13 17:29:12 -07:00
Kevin Chyn
3e9fddd94f Disable guided enrollment for a11y
Fixes: 186143173
Test: Enable talkback, enroll
Change-Id: I25dacbfacac8d215c545d52a136b154a7d21591d
2021-05-13 16:33:46 -07:00
Matt Pietal
d8ee5fbd5f Merge "Smartspace - Animate vertically with clock change" into sc-dev 2021-05-13 22:50:39 +00:00
Kevin Chyn
186d52afcb Merge "Animate UDFPS enroll affordance" into sc-dev 2021-05-13 22:19:18 +00:00
Lyn Han
ab2dd81796 Merge "Fix fickle footer visibility" into sc-dev 2021-05-13 22:09:53 +00:00
Silin Huang
7c08b49192 Merge "Make wallet screen scrollable in landscape mode." into sc-dev 2021-05-13 20:31:16 +00:00
Ned Burns
f540d78701 Merge changes from topic "dedupe-lockscreen" into sc-dev
* changes:
  Dedupe smartspace and notification content on lockscreen
  Break circular dependencies in notif code
2021-05-13 20:29:31 +00:00