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
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
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
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
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
Activity->activity transition animations can be customized by
the client app. The animation part was already hooked up to shell
transitions, but the start/finish callbacks were not. This hooks
them up.
Bug: 194233756
Test: atest WindowUntrustedTouchTest
Change-Id: I2ee6f6e54bf1ebd0f1cbb73cdf79bc25eb0247db
If there's exactly one SIM, do not show the RSSI next to the name in
QSBH. Instead, show it with the other icons. If there's more than one
SIM, show each RSSI next to the carrier name, and not with the other
icons (not even in QQS).
Test: atest com.android.systemui.qs
Test: manual single sim
Bug: 187654917
Bug: 194178072
Change-Id: I8b80bb14b8f60872d44d5a92ddfa7c5903420874
Merged-In: I8b80bb14b8f60872d44d5a92ddfa7c5903420874