NEW_TASK flag was added by ATMS when #startActivityInTaskFragment
is called because the activity was started without source record.
Bug: 193846941
Test: starting CCT in sample app
Change-Id: Ida26034324f7ff761f1e688403d78959a01f010d
Currently it will not receive stage visibility changed callback
after display info changed, the divider will not show even if it
has re-initialized.
Fix this by add applyVisibility call when display info changed.
Fix: 194159070
Test: active stage split and rotate phone
Change-Id: I2b9d6849300bc8a594cdbe658a7f7a663fd949a7
When Shell transition is enabled, some launcher tests failed because the
keyguard exit remote animation never invoke the finish callback.
The expect flow is:
1. Dismiss amount changed from 0 to 0.1+ to trigger the keyguard going
away transition.
2. Dismiss amount changed from 0.1+ to 0.3+ to finish the keyguard exit
remote animation.
However, in presubmit test, the dismiss amount may changed from 0.0+ to
1.0 directly. When it happened, there is only a trigger to start the
transition, but never trigger the change event to call the finish
callback, which blocked the Shell transition.
The idea is to also check the current dismiss amount when the keyguard
going away transition reach to the controller.
Bug: 183993924
Test: atest PromiseIconUiTest
Change-Id: I95951385130578f45df0837200cc7e88d89edd34
* changes:
Add the log for new supported accessibility button type 'Accessibility Gesture'
Update the supported type in ACCESSIBILITY_BUTTON_MODE according to navigation gestural mode or button mode
Add a supported type 'gesture' under ACCESSIBILITY_BUTTON_MODE
The stack trace in b/194344478 and b/194280568 is actually from the
preceding ActivityThreadTest test, which does not fail but does crash
certain test cases after that.
Since we may set a start delay on the content overlay fading out
animation, there is chance that onTaskVanished happens before it is
actually started. It's also possible that onTaskVanished happens during
the content overlay fadeout. This CL should have addressed both cases.
Bug: 194344478
Bug: 194280568
Test: atest --iteration 5 \
ActivityThreadTest#testHandlePictureInPictureRequested_overriddenToEnter \
ScreenshotTests#testScreenshotSecureLayers \
TaskStackChangedListenerTest#testTaskChangeCallBacks
Change-Id: I81c0622966df32e02db7cb5aa3cd42d7c4af735e
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
If face auth fails and fingerprint is running,
show the "use fingerprint to open" msg.
Fixes: 194358779
Test: manual
Change-Id: I249fcf550ac1ca5881d55566a4366937263690bf
launch help page""
This reverts commit c2d0388962.
Reason for revert: Reverting the revert and avoiding the TH failure
Fixes: 191727929
Change-Id: I741f35aab78ba32f69f204dbdf4ebcf632bd741c