Commit Graph

650076 Commits

Author SHA1 Message Date
TreeHugger Robot
2b52c55ae3 Merge "Show "use fingerprint to open" msg for coex" into sc-dev am: c2e4423c8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15358778

Change-Id: Ic8df0d7bce21616db6d468dae1c178744ac513b7
2021-07-22 16:55:21 +00:00
TreeHugger Robot
c2e4423c8f Merge "Show "use fingerprint to open" msg for coex" into sc-dev 2021-07-22 16:41:17 +00:00
TreeHugger Robot
b169f1c712 Merge "Revert "Revert "Launch admin policies settings screen if not possible to launch help page""" into sc-dev am: 8e530f8194
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15346893

Change-Id: Ifc9fa8eeb9164ce238224b9f6849933cba8a8f22
2021-07-22 16:24:02 +00:00
TreeHugger Robot
8e530f8194 Merge "Revert "Revert "Launch admin policies settings screen if not possible to launch help page""" into sc-dev 2021-07-22 15:53:27 +00:00
Lyn Han
f21abb38f4 Merge "Fix HUN input alignment with IME" into sc-dev am: 62180de361
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15333059

Change-Id: Ie6f0c55bc3681aa471fdd1c30ecbfb2225e33609
2021-07-22 14:35:19 +00:00
Lyn Han
62180de361 Merge "Fix HUN input alignment with IME" into sc-dev 2021-07-22 14:26:37 +00:00
Lyn Han
2e8074a574 Fix HUN input alignment with IME
SSA#updateHeadsUpStates defines the top HUN as having
    mustStayOnScreen = TRUE
    headsUpIsVisible = FALSE

However, SSA#updateChild sets
    headsUpIsVisible = TRUE
for the top HUN when shade is closed

When we tap the reply button and show IME, SSA#updateHeadsUpStates
does not recognize the top HUN as such and skips it when
reducing yTranslation by scrollY (which includes IME inset)

This change skips setting headsUpIsVisible on HUNs when shade is closed.

Fixes: 187485733
Test: expand HUN in portrait/landscape with largest font/display
      tap reply button to show IME
      => HUN shifts up to align bottom of input with top of IME
Change-Id: I236b01a7f9070ebe58457eab9ea8072703acb12c
2021-07-22 14:26:18 +00:00
Fabian Kozynski
97be759b19 [automerger skipped] Merge "Hide RSSI next to single carrier name" into sc-dev am: ef8407ab7d -s ours
am skip reason: Merged-In I8b80bb14b8f60872d44d5a92ddfa7c5903420874 with SHA-1 66820d753e is already in history

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

Change-Id: I1a011a3cb83362156a4eda62d5f00f8b5c493595
2021-07-22 13:20:31 +00:00
Fabian Kozynski
ef8407ab7d Merge "Hide RSSI next to single carrier name" into sc-dev 2021-07-22 13:11:40 +00:00
Beverly
2b88dc67bb Show "use fingerprint to open" msg for coex
If face auth fails and fingerprint is running,
show the "use fingerprint to open" msg.

Fixes: 194358779
Test: manual
Change-Id: I249fcf550ac1ca5881d55566a4366937263690bf
2021-07-22 09:06:22 -04:00
arangelov
c3b5583cb0 Revert "Revert "Launch admin policies settings screen if not possible to
launch help page""

This reverts commit c2d0388962.

Reason for revert: Reverting the revert and avoiding the TH failure

Fixes: 191727929
Change-Id: I741f35aab78ba32f69f204dbdf4ebcf632bd741c
2021-07-22 12:05:55 +01:00
Jeff Chang
1d8f49f3bf Merge "Report the failure back to the organizer" into sc-v2-dev 2021-07-22 10:46:46 +00:00
TreeHugger Robot
f6357101ac Merge "Add initial unfold animation prototype under feature flag" into sc-v2-dev 2021-07-22 10:41:30 +00:00
Wei Sheng Shih
36b1a17984 Merge "Using BaseIconFactory to draw legacy icon." into sc-dev am: 61d71ccaae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15301161

Change-Id: I55e6322b3df07fd54b0455d8de70c5a5875834b8
2021-07-22 10:25:53 +00:00
Wei Sheng Shih
61d71ccaae Merge "Using BaseIconFactory to draw legacy icon." into sc-dev 2021-07-22 10:06:34 +00:00
Jeff Chang
5db2913740 Report the failure back to the organizer
- create taskfragment
 - startActivity in taskfragment
 - reparent children
 - delete taskfragment

Bug: 189385246
Test: atest TaskFragmentOrganizerControllerTest
Change-Id: Ibddb6d9f83e707ac8a27b117777cc3ddc45bbef9
2021-07-22 16:21:42 +08:00
Eric Laurent
82f80823e6 [automerger skipped] Merge "RESTRICT AUTOMERGE Restart recognition when failing to deliver event" into sc-dev am: 43993b70c4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I99ef33a248ef7f139dd315efc0ea111f188b16f6
2021-07-22 08:09:38 +00:00
TreeHugger Robot
f84dcc7d4d Merge "Remove deprecated, hidden versions of changed public APIs." into sc-dev am: c630f87976
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15259893

Change-Id: I79a00bd0125fb8839f301a9393e27eed18232503
2021-07-22 08:09:28 +00:00
Eric Laurent
b3abf5cb7b Merge "RESTRICT AUTOMERGE Restart recognition when failing to deliver event" into sc-v2-dev 2021-07-22 07:48:08 +00:00
Eric Laurent
43993b70c4 Merge "RESTRICT AUTOMERGE Restart recognition when failing to deliver event" into sc-dev 2021-07-22 07:47:46 +00:00
TreeHugger Robot
c630f87976 Merge "Remove deprecated, hidden versions of changed public APIs." into sc-dev 2021-07-22 07:44:54 +00:00
Andrii Kulian
e84a831f45 [automerger skipped] Mark an ActivityThreadTest as flaky am: 0492d8febe -s ours
am skip reason: Merged-In I2452db8523438de4d06c938c3c3fa1d8a9aa0f4e with SHA-1 0b6ea59fe0 is already in history

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

Change-Id: Id3724b62b8d8ffad0eb4aafe6c07abe836d2162a
2021-07-22 05:02:50 +00:00
Andrii Kulian
290294d3c2 Merge "Register task fragment organzer before sending events" into sc-v2-dev 2021-07-22 03:56:25 +00:00
Arthur Hung
c923e35a3c Merge "Fix pointer location apply wrong insets in foldable device" into sc-v2-dev 2021-07-22 03:31:54 +00:00
Andrii Kulian
0492d8febe Mark an ActivityThreadTest as flaky
Bug: 194242735
Test: Build
Change-Id: I2452db8523438de4d06c938c3c3fa1d8a9aa0f4e
Merged-In: I2452db8523438de4d06c938c3c3fa1d8a9aa0f4e
(cherry picked from commit 0b6ea59fe0)
2021-07-22 03:17:44 +00:00
Ray Essick
b3695ff530 Merge "Describe Video Encoding Floor" into sc-dev am: 11badea7d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15238435

Change-Id: I211c47fc69fb419c5c2469d6ec4f12dd755983de
2021-07-22 03:15:37 +00:00
Peter Kalauskas
17b6650d32 Merge "Fix bug that caused task to show behind keyguard" into sc-dev am: b248718705
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15349269

Change-Id: I9c04621651ba559562f7b65d0298f28c1c4beb23
2021-07-22 03:15:24 +00:00
Luke Huang
a251e5a9e0 Merge "Keep the native mdns daemon alive for pre-S application" into sc-dev am: 5978eb6eb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15320524

Change-Id: I385be9019608d8bef55fd9fbb4d3187c5943c812
2021-07-22 03:14:59 +00:00
Ray Essick
11badea7d3 Merge "Describe Video Encoding Floor" into sc-dev 2021-07-22 03:10:53 +00:00
Peter Kalauskas
b248718705 Merge "Fix bug that caused task to show behind keyguard" into sc-dev 2021-07-22 03:06:17 +00:00
Luke Huang
5978eb6eb4 Merge "Keep the native mdns daemon alive for pre-S application" into sc-dev 2021-07-22 03:00:35 +00:00
Kevin Chyn
3c00041dbe Merge "7/n: Add mechanism to hold onto already-completed operations" into sc-dev am: 63614e99d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15337428

Change-Id: Ife28e4a4415f7a4f909b54d815190044dd96efc8
2021-07-22 01:48:33 +00:00
Kevin Chyn
63614e99d1 Merge "7/n: Add mechanism to hold onto already-completed operations" into sc-dev 2021-07-22 01:42:33 +00:00
TreeHugger Robot
cb2a580046 Merge "Fixed the padding of quick settings" into sc-v2-dev 2021-07-22 01:30:30 +00:00
Evan Rosky
9ee6f20ddb Merge "Hook up custom activity-level animation callbacks to shell" into sc-v2-dev 2021-07-21 23:31:02 +00:00
Lucas Dupin
dbee7f7242 Merge "Enable overlays that are pending creation" into sc-dev am: 715ab39149
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15350330

Change-Id: I3793c6e9a815563287dfbea5d6a77427b3622f6d
2021-07-21 23:02:11 +00:00
Lucas Dupin
715ab39149 Merge "Enable overlays that are pending creation" into sc-dev 2021-07-21 22:50:54 +00:00
TreeHugger Robot
a98c28bdb9 Merge "Mark an ActivityThreadTest as flaky" into sc-v2-dev 2021-07-21 22:42:35 +00:00
Evan Rosky
b6e3779d99 Merge "make non-organized tasks visible when their activity is made visible" into sc-v2-dev 2021-07-21 21:17:29 +00:00
Andrii Kulian
0b6ea59fe0 Mark an ActivityThreadTest as flaky
Bug: 194242735
Test: Build
Change-Id: I2452db8523438de4d06c938c3c3fa1d8a9aa0f4e
2021-07-21 13:53:55 -07:00
Matt Pietal
7d0b0475a7 Merge "Dismiss SIM PIN screen when eSIM disabled" into sc-dev am: 03b95c36a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15348037

Change-Id: I52c48394ddd4f985db705c42d2149e39e73959e2
2021-07-21 20:51:52 +00:00
TreeHugger Robot
b8fc6c7296 Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into sc-dev am: d83f286818
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15347870

Change-Id: I26c5b5320f48e22f05297de506d13dc6170c5c52
2021-07-21 20:51:23 +00:00
Matt Pietal
03b95c36a3 Merge "Dismiss SIM PIN screen when eSIM disabled" into sc-dev 2021-07-21 20:47:33 +00:00
TreeHugger Robot
d83f286818 Merge "Guard DISABLE_PLUGIN with PLUGIN permission." into sc-dev 2021-07-21 20:41:11 +00:00
Kevin Chyn
fa8b98f9b7 7/n: Add mechanism to hold onto already-completed operations
The CoexCoordinator needs to hold onto successful operations in
some cases, as well as prevent them from being "finished" in the
scheduler (to prevent subsequent operations from starting while
the coordination is not complete yet). This change:

0) Splits AuthenticationClient "state" and "callback" (e.g. client
   can be done with the sensor, but not notify the scheduler of
   completion yet).
1) Adds a list of successful operations. This list should usually
   be at most size 1
2) Each successful operation has an internal watchdog that removes
   itself from the list and finishes the AuthenticationClient's
   lifecycle, to prevent the scheduler from being stuck indefinitely
3) Adds support for additional coex cases. These should (I think)
   all be covered by newly added unit tests

Test: atest com.android.server.biometrics
Test: atest CoexCoordinatorTest (subset of the above)
Bug: 193089985

Change-Id: I39a31a4e450001ab7db48055165c984a312b6bfa
2021-07-21 13:25:59 -07:00
Daniel Chapin
100b9f73e5 Merge "Revert "Deferring visibility updates while applying WCT"" into sc-v2-dev 2021-07-21 20:13:54 +00:00
Andrii Kulian
9e163f8320 Register task fragment organzer before sending events
Set task fragment organizer before performing operations on one,
so that no events are skipped.

Bug: 193932429
Test: Manual, using reference organizer implementation.
Change-Id: I916b8c0265689dfbd539894b88a97c53b4f8a52c
2021-07-21 13:06:45 -07:00
Lucas Dupin
7eecfccb6f Enable overlays that are pending creation
They don't exist yet, but enabling them won't make OverlayManager fail,
creation will be exectured on the same transaction.

Test: manual
Fixes: 194155751
Change-Id: I388f382592dfd1aa4db5bfa047b9cfcb4d489e78
2021-07-21 13:06:23 -07:00
Fabian Kozynski
8a5c787b96 Merge "Hide RSSI next to single carrier name" into sc-v2-dev 2021-07-21 19:12:01 +00:00
Peter Kalauskas
8dc98766be Fix bug that caused task to show behind keyguard
Move guest recreation into the user switch BroadcastReceiver to avoid
lock contention that caused UI bugs in keyguard.

Test: With config_guestUserAutoCreated=true, switch to guest, then
      select reset guest. Ensure that keyguard renders correctly for the
      owner.
Fixes: 193933686
Change-Id: I95ed36dbd2c361312c044dec63a06f1711419131
2021-07-21 11:55:51 -07:00