Commit Graph

651088 Commits

Author SHA1 Message Date
Beverly Tai
fe1e9e09bf Merge "Update lock icon and udfps padding" into sc-dev am: 2486a5f188
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15446128

Change-Id: I2b8853310fb9d18aa32a8cd1c644d314f2ca0533
2021-08-06 15:15:44 +00:00
Beverly Tai
2486a5f188 Merge "Update lock icon and udfps padding" into sc-dev 2021-08-06 15:04:47 +00:00
Ming-Shin Lu
ba838a19e8 Merge "Revert "Fix flickering when switched to the task without IME shown"" into sc-v2-dev 2021-08-06 13:52:46 +00:00
Charles Chen
57f0866d49 Merge "Fix IOOBE in forAllLeafTasksAndLeafTaskFragments" into sc-v2-dev 2021-08-06 13:21:04 +00:00
Alex Florescu
c26e08020c Merge "Fix test failure" into sc-v2-dev 2021-08-06 10:29:14 +00:00
Alex Florescu
9ff10b86c9 Merge "Fix test when running on large screen devices" into sc-v2-dev 2021-08-06 10:27:43 +00:00
Charles Chen
3cce8dd16f Fix IOOBE in forAllLeafTasksAndLeafTaskFragments
fixes: 195729546
Test: manual - reproducible step in b/195729546#comment1
Change-Id: I7a75a45518ad9633c4c314d2509ccedc30a062d8
2021-08-06 18:01:57 +08:00
Jason Chang
b7edaae151 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: I2bf121d0ce528eca6960d4bf3d9181fb76ba73bb
2021-08-06 05:48:23 +00:00
Jason Chang
20c38783c2 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev 2021-08-06 05:36:49 +00:00
Kevin Chyn
c7b6619d05 Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: I76e9fa2971f214bff6ade49c99bc3d89c3745e09
2021-08-06 04:53:08 +00:00
Kevin Chyn
755ee24f4c Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev 2021-08-06 04:38:05 +00:00
Ming-Shin Lu
7f2a6b011a Revert "Fix flickering when switched to the task without IME shown"
This reverts commit 7d9eb2b6f9.

Reason for revert: Regression happens in "com.instagram.android" that IME will cover the comment fields

Bug: 195385541
Bug: 192337037
Bug: 194746204
Change-Id: Id33459ab4f53f8bec2027759302dafc1a4f02fae
(cherry picked from commit 9eca14b72b)
2021-08-06 03:57:38 +00:00
Jason Chang
413ab9d586 Fix one-handed mode tap app to exit doesn't work in factory boot
Root cause:
1. Design change "tap app to exit" -> always being true, and settings
remove this option.
2. Tuning performance, due to 1, no longer listens to the key change,
so we remove the listener.

Solution:
Change getSettingsTapsAppToExit() API to return default TRUE.

Bug: 195629000
Test: Build ROM and factory-reset to test
Test: atest WMShellUnitTests
Change-Id: Id3c265258ed28f7e0aa54505c339671885d28fa7
2021-08-06 01:53:39 +00:00
Louis Chang
c3a85ce0c5 Merge "Supporting independent back nav while task embedded" into sc-v2-dev 2021-08-06 01:42:47 +00:00
Kevin Chyn
a04d57070d Fix KeyguardUpdateMonitor auth lifecycle issues
This is split into two high-level issues which together cause
strange auth behavior on keyguard:

============= Issue 1 =============
For fingerprint, auth ends when:
1) Success
2) Error

For face, auth ends when:
1) Success
2) Reject
3) Error

This change ensures that cancellation signal is set to null upon
any of these conditions, so that there is never an opportunity of
using a stale CancellationSignal.

Furthermore, do not invoke stale cancellation signal when
starting authentication. In the off chance the bug is re-introduced,
or if some other situation can cause a cancellation signal to be
non-null when keyguard requests auth again (e.g. bad state management
in keyguard), do NOT invoke the stale cancellation signal's cancel
method. The framework already handles this case gracefully and will
automatically cancel the previous operation.

============= Issue 2 =============

We have a runnable that's scheduled to run after X ms if
ERROR_CANCELED is not received after cancel() is requested. However,
there are various bugs around that logic:

1) shared runnable for both fp and face, leading to unexpected
   and incorrect state changes (e.g. face does not respond to cancel
   within X ms, both fp and face will go to STATE_STOPPED, even though
   cancel() was never requested of fp
2) Always remove and re-add runnable when requesting cancel() though
   it should never occur that cancel() is requested in close temporal
   proximity, it never hurts to have the correct timeout before
   resetting the state.

Bug: 195365422
Bug: 193477749
Test: manual
Change-Id: I3702f41c8af7e870798f19c43012a26281a6632a
2021-08-05 18:04:35 -07:00
Evan Rosky
9751bc2fec Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev 2021-08-06 00:15:30 +00:00
Lucas Dupin
8aea18699a Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: I81c6ea0e6f53592654558208c65fae823ede1229
2021-08-05 23:05:50 +00:00
Lucas Dupin
c359d54b49 Merge "Do not run background animation without a Looper" into sc-dev 2021-08-05 22:44:56 +00:00
Beverly
83dde708cc Update lock icon and udfps padding
By default, use 48px. This value can be
overridden by overlays.

Update stroke width of lock and udfps icons from 2.5 => 2
Update stroke width of aod udfps icon from 1 => 1.3

Test: manual
Change-Id: I7c3883c9acac68acc02684a3115e9e6512fe9a1f
Bug: 195564809
2021-08-05 17:39:01 -04:00
Winson Chung
97c59ee57d Merge "Make sure recents animation input consumer is above the top task" into sc-v2-dev 2021-08-05 20:38:09 +00:00
Josh Tsuji
27146852af Merge "Don't let ringer drawer icons be clicked while the drawer is animating closed." into sc-dev am: 286530b685
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474817

Change-Id: I3c505ef4cc2542be67397bfc11ca592beb94a94e
2021-08-05 19:30:03 +00:00
Ahaan Ugale
1850753280 Merge "Send the HotwordDetectionService UID to AudioPolicy" into sc-dev am: 298c5093dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15465671

Change-Id: I647647a218ee2ae43b1d2c7740e5a22da11087ab
2021-08-05 19:29:48 +00:00
Neha Jain
8b067c5503 Merge "Paired BT devices are not displaying in volume control panel" into sc-dev am: 060a40095d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15460611

Change-Id: I9bdf5127376319fd94449cb79bc387535d32d9af
2021-08-05 19:24:28 +00:00
Josh Tsuji
286530b685 Merge "Don't let ringer drawer icons be clicked while the drawer is animating closed." into sc-dev 2021-08-05 19:19:52 +00:00
Ahaan Ugale
298c5093dc Merge "Send the HotwordDetectionService UID to AudioPolicy" into sc-dev 2021-08-05 19:16:00 +00:00
Neha Jain
060a40095d Merge "Paired BT devices are not displaying in volume control panel" into sc-dev 2021-08-05 19:05:56 +00:00
Patrick Baumann
43ca62a657 Merge "Revert "Apply overlay updates to widget provider info"" into sc-dev am: e2c96ac3ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15463732

Change-Id: Ied32b64575a75f47011e40504c999f376f302a8b
2021-08-05 18:19:03 +00:00
Jayant Chowdhary
d5de4879d9 Merge "camera2: Fix backward compatibility breakage for setting metering regions." into sc-dev am: 4eeeee0f14
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15451329

Change-Id: I0f934de9c1be223f5178c46ab3662b39c0fad05d
2021-08-05 18:18:40 +00:00
Chris Li
8d0616af08 Merge "Destroy ActivityRecord when it is removed from the hierarchy" into sc-v2-dev 2021-08-05 18:15:28 +00:00
Michał Brzeziński
0f7c56a233 Merge "Extracting buttons below expanded QS to a separate view and controller" into sc-v2-dev 2021-08-05 18:13:39 +00:00
Alex Florescu
9cbcbac55b Fix test failure
In some situations the hostView needs to have initialized some
LayoutParams

Fixes: 195651626
Test: atest SystemUITests:KeyguardMediaControllerTest
Change-Id: I567393e6fb7ba4df38e7937c6005ba8058de431f
2021-08-05 19:11:01 +01:00
Patrick Baumann
e2c96ac3ad Merge "Revert "Apply overlay updates to widget provider info"" into sc-dev 2021-08-05 18:07:10 +00:00
Jayant Chowdhary
4eeeee0f14 Merge "camera2: Fix backward compatibility breakage for setting metering regions." into sc-dev 2021-08-05 18:03:45 +00:00
Alex Florescu
6269ac83c5 Fix test when running on large screen devices
Fixes: 195651761
Test: atest SystemUITests:NavigationBarControllerTest
Change-Id: I3e148c9bba5d980c05f01e720e411eeb4473c66a
2021-08-05 18:41:59 +01:00
TreeHugger Robot
fdf9c1088f Merge "Re-order early return when targetPkg is null" into sc-dev am: 7a3193ae7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15461803

Change-Id: I27e340af0f5c87cd97b696a58296867e11c3107c
2021-08-05 17:26:22 +00:00
TreeHugger Robot
7a3193ae7a Merge "Re-order early return when targetPkg is null" into sc-dev 2021-08-05 17:22:32 +00:00
Evan Rosky
bc047eeedd Differentiate seamless rotations in shell transitions
Shell owns the whole display rotation animation now. So, we
can just provide enough information for it to decide when
seamless is requested/appropriate. The default behavior (when
not explicitly animating) is already a jump-cut/seamless, so
just skip the rotation animation if we are doing seamless

Bug: 194693472
Test: atest SeamlessAppRotationTest ShellTransitionTests
Change-Id: I64748f5910c04784fd9818818b029fa5f1339c6c
2021-08-05 10:11:52 -07:00
Ady Abraham
3f8c8a8387 Merge "DisplayModeDirector: proximity should not vote on doze" into sc-dev am: e8310817af
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15378209

Change-Id: I8b0dd0e92e4715a2452edce9698898ee27daf2f8
2021-08-05 16:59:09 +00:00
Nate Myren
dcd809e7cd Merge "Remove calling UID check from ContentProvider" into sc-dev am: c2c1c0341b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15463733

Change-Id: I44bc8d19e6877cbfbf5cf54b9cb9dbcd8db35cd9
2021-08-05 16:59:04 +00:00
Ady Abraham
e8310817af Merge "DisplayModeDirector: proximity should not vote on doze" into sc-dev 2021-08-05 16:57:47 +00:00
Josh Tsuji
1a7019c85f Don't let ringer drawer icons be clicked while the drawer is animating closed.
This could happen after a quick double tap on the ringer icon, where you'd hit the ringer icon as the drawer animated shut. This resulted in a permanently unusable ringer drawer (a reboot was needed to fix).

Fixes: 195392457
Test: switch to vibrate, then tap the ringer icon several times quickly
Change-Id: If5ddd2a27364a6fd66ebd6bfd12b5810e1973a75
2021-08-05 12:55:38 -04:00
Nate Myren
c2c1c0341b Merge "Remove calling UID check from ContentProvider" into sc-dev 2021-08-05 16:46:58 +00:00
Simon Bowden
89abfb36eb Merge "Fix a race condition between calculateWaitTime and actually waiting. When the race was lost with a completion callback, the operation being waited upon may have been de-queued by the completion callback for immediate execution, but the thread was still proceeding with the wait." into sc-dev am: 47fc76e4f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472895

Change-Id: I3ddb046efb61663ba115212063e311889bb7dc85
2021-08-05 16:21:11 +00:00
Lucas Dupin
84922f4f43 Do not run background animation without a Looper
Apps that create RippleDrawable on a background thread could crash,
making them incompatible with S.

Test: manual with MindBody app
Fixes: 194952073
Change-Id: I9d16d5c63c192e96191b4fbc859ff3bc3da733cb
2021-08-05 09:18:32 -07:00
Simon Bowden
47fc76e4f2 Merge "Fix a race condition between calculateWaitTime and actually waiting. When the race was lost with a completion callback, the operation being waited upon may have been de-queued by the completion callback for immediate execution, but the thread was still proceeding with the wait." into sc-dev 2021-08-05 16:11:04 +00:00
Caitlin Cassidy
df4f102c95 Merge "[Dagger] Remove ConfigurationController from BatteryMeterView." into sc-v2-dev 2021-08-05 15:43:07 +00:00
Beverly Tai
647f8767e4 Merge "Remove UDFPS hint animation" into sc-dev am: bf1835d2ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15462989

Change-Id: Ibcb4849ce5534aad7b62a43ed6ae3a018c9b2386
2021-08-05 15:38:00 +00:00
Issei Suzuki
d736828322 Merge "Fix jank when launching an activity from an occluding activity." into sc-dev am: f01d5502fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15471456

Change-Id: Ib4cd159f4b1e971b6ddb8cdc5e7c8c84da0dccba
2021-08-05 15:36:56 +00:00
Beverly Tai
bf1835d2ea Merge "Remove UDFPS hint animation" into sc-dev 2021-08-05 15:36:33 +00:00
Issei Suzuki
f01d5502fb Merge "Fix jank when launching an activity from an occluding activity." into sc-dev 2021-08-05 15:26:34 +00:00