Commit Graph

707333 Commits

Author SHA1 Message Date
Alex Florescu
8eefbc41ce Merge "Fix test failure" into sc-v2-dev am: c26e08020c am: 5191a90b94
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472905

Change-Id: I17be320c3a2be0b5ccc40d4cad77fe800fcbbabf
2021-08-06 10:45:12 +00:00
Alex Florescu
879afa6619 Merge "Fix test when running on large screen devices" into sc-v2-dev am: 9ff10b86c9 am: 27cd93e623
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472904

Change-Id: Ida129b93785f7f8122ba1e95f55b5ae243f48ac1
2021-08-06 10:44:38 +00:00
Alex Florescu
5191a90b94 Merge "Fix test failure" into sc-v2-dev am: c26e08020c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472905

Change-Id: Id18f4eb8dc064f14e3aec42b4d9f8712131c9d7e
2021-08-06 10:36:45 +00:00
Alex Florescu
27cd93e623 Merge "Fix test when running on large screen devices" into sc-v2-dev am: 9ff10b86c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472904

Change-Id: I7f40327a507d1dc1c9818077f717296f1e568e5c
2021-08-06 10:35:41 +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
Jelle Fresen
268fb194ca Merge "Clarify documentation of canScrollHorizontally/Vertically" 2021-08-06 09:07:42 +00:00
Nathalie Le Clair
a5f75cc2e4 Merge "Create RequestSadAction" 2021-08-06 07:29:24 +00:00
Jason Chang
82d8f60c32 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: 7bf628ff7c am: 66baecb03a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: I439ebf62179bd6b8f5d79db22e7c8f5d9f34ee4a
2021-08-06 06:14:04 +00:00
Jason Chang
ab763edd7f Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: b7edaae151 am: bd349dd1d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: I4fb1648f6465ddd11ae4605ab11a0482614a045d
2021-08-06 06:13:48 +00:00
Jason Chang
66baecb03a Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: 7bf628ff7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: Ib88b304ac10c50c84dd278a31a13b6961bb28bb7
2021-08-06 06:02:05 +00:00
Jason Chang
bd349dd1d8 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: b7edaae151
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: I6e9f55719a6122ecf9138eda80e23fbe32882325
2021-08-06 06:01:43 +00:00
Jason Chang
25fee64461 Merge "Fix one-handed mode tap app to exit doesn't work in factory boot" into sc-dev am: 20c38783c2 am: 09dc62ab62
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15472778

Change-Id: Ib53cf68e2362e11e0db87bd3d5787b4054c144b5
2021-08-06 06:01:20 +00: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
7bf628ff7c 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: Ia1c142195635b51b006a0773ab628291f03b2dc7
2021-08-06 05:48:10 +00:00
Jason Chang
09dc62ab62 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: Ib9b3775291c76eb3f4237f85e84cf03e1f00132b
2021-08-06 05:47:59 +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
8983ec6ecb Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c am: ada08b0668 am: 8b6bd81629
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: Ia7b6cbfae63e539d048b6316137e4b17c23b65d9
2021-08-06 05:23:28 +00:00
Kevin Chyn
d28ebeb3e2 Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c am: c7b6619d05 am: 11520c06be
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: Ifd8cf40cfd6e0db4d29ac429dda167bb4c81e55a
2021-08-06 05:22:34 +00:00
Tingting Wang
28f101c707 Merge "Add defaultAccount related API to ContactsContract." 2021-08-06 05:15:46 +00:00
Kevin Chyn
8b6bd81629 Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c am: ada08b0668
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: I480813892480f81ac4961515fedc396e16d27e2c
2021-08-06 05:05:09 +00:00
Kevin Chyn
11520c06be Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c am: c7b6619d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: I762f6041a0d508c759312e07ec8c62233a1f9995
2021-08-06 05:04:55 +00:00
Kevin Chyn
8900b4a8ff Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev am: 755ee24f4c am: 2d1ac03e19
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474434

Change-Id: I3c50c7745c700c2c70ecdd5ce5aa1d23c743d244
2021-08-06 05:04:23 +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
2d1ac03e19 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: I994ec2ffb222947cff589dbdf693c068bb54abe5
2021-08-06 04:52:24 +00:00
Kevin Chyn
ada08b0668 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: Ib75de76b6a0fbedbe465072b7448208db10b4b0e
2021-08-06 04:51:56 +00:00
Kevin Chyn
755ee24f4c Merge "Fix KeyguardUpdateMonitor auth lifecycle issues" into sc-dev 2021-08-06 04:38:05 +00:00
Treehugger Robot
168ebe3b1d [automerger skipped] Merge "Broadcast Bluetooth state to OFF properly" am: 0d2b668d70 am: ca00520ef2 -s ours am: c3ec7dcd6f -s ours am: 5bc4a51e7e -s ours
am skip reason: Merged-In I3936766ab8bdd45d59550dacb64bdc0323bb424d with SHA-1 80f2ad68b9 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1724470

Change-Id: Ic0249b160b915f5fea02f4937137b2965d59ca6c
2021-08-06 03:14:05 +00:00
Weng Su
f9b006c988 Merge "[Provider Model] Should not show Wi-Fi entries under lockscreen" 2021-08-06 03:12:01 +00:00
Treehugger Robot
5bc4a51e7e [automerger skipped] Merge "Broadcast Bluetooth state to OFF properly" am: 0d2b668d70 am: ca00520ef2 -s ours am: c3ec7dcd6f -s ours
am skip reason: Merged-In I3936766ab8bdd45d59550dacb64bdc0323bb424d with SHA-1 80f2ad68b9 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1724470

Change-Id: I57d2fc347604482e9de43597a18801770f076a54
2021-08-06 02:57:21 +00:00
Treehugger Robot
c3ec7dcd6f [automerger skipped] Merge "Broadcast Bluetooth state to OFF properly" am: 0d2b668d70 am: ca00520ef2 -s ours
am skip reason: Merged-In I3936766ab8bdd45d59550dacb64bdc0323bb424d with SHA-1 80f2ad68b9 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1724470

Change-Id: Ic9e943eae096b776232a6f2cc81ce654e13ab388
2021-08-06 02:44:38 +00:00
Treehugger Robot
ca00520ef2 Merge "Broadcast Bluetooth state to OFF properly" am: 0d2b668d70
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1724470

Change-Id: Id3154a352ebc74b59e7099713c5c1bf6a1ee9232
2021-08-06 02:23:25 +00:00
Louis Chang
985bbd0290 Merge "Supporting independent back nav while task embedded" into sc-v2-dev am: c3a85ce0c5 am: 66919a7c89
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15390767

Change-Id: I767ee85a9ac388bc1a1ce562b13fd7a60a7c8f15
2021-08-06 02:08:09 +00:00
Treehugger Robot
0d2b668d70 Merge "Broadcast Bluetooth state to OFF properly" 2021-08-06 02:01:01 +00:00
Louis Chang
66919a7c89 Merge "Supporting independent back nav while task embedded" into sc-v2-dev am: c3a85ce0c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15390767

Change-Id: I78011888d8cf38dde79b9604c7300ee2631cb390
2021-08-06 01:54:46 +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
JW Wang
51a0f7c3f4 Merge "Remove tests (6/n)" 2021-08-06 01:06:19 +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
4ab085aeb5 Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev am: 9751bc2fec am: e5e523416c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388785

Change-Id: I00aae931ff43257abbe6454338ff4a18773b411c
2021-08-06 00:49:55 +00:00
Evan Rosky
e5e523416c Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev am: 9751bc2fec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388785

Change-Id: Idea3cb030118f0346113cea0dd8cf22d2ac19ef6
2021-08-06 00:32:50 +00:00
Evan Rosky
9751bc2fec Merge "Differentiate seamless rotations in shell transitions" into sc-v2-dev 2021-08-06 00:15:30 +00:00
Kweku Adams
0ba8fca9e6 Merge "Open up PM.isLightDeviceIdleMode()." 2021-08-06 00:14:48 +00:00
Kweku Adams
2f348e59f7 Merge "Fix bug in Ledger." 2021-08-05 23:43:19 +00:00
Lucas Dupin
32f34721d7 Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49 am: 2b1f0f485b am: 089a67d01f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: Ic03b6bad3755f26cbc9a2278303d99f789962dc5
2021-08-05 23:26:43 +00:00
Lucas Dupin
8140c106aa Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49 am: 8aea18699a am: 8ae4674234
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: Ic196e6e5e42b364091bae7af3c83f38eaea7a48a
2021-08-05 23:26:23 +00:00
Lucas Dupin
089a67d01f Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49 am: 2b1f0f485b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: Ie5b2079994f6a6729e3350f6f8e1362ffba7a274
2021-08-05 23:15:37 +00:00
Lucas Dupin
8ae4674234 Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49 am: 8aea18699a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: I904dd44985a06f214287c4a28fcf714b401d89c2
2021-08-05 23:15:05 +00:00
Lucas Dupin
2983d71f12 Merge "Do not run background animation without a Looper" into sc-dev am: c359d54b49 am: c31d0895e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15474611

Change-Id: I5e36368c4d21afb7cfe60e2d196381c97a0c0839
2021-08-05 23:14:56 +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