Now FOLD_UPDATE_START_CLOSING event is emitted when the angle decreases.
After each angle update, a timeout is started to finish the animation.
When the timeout is reached, FOLD_UPDATE_ABORTED is emitted.
The timeout logic has been moved from
PhysicsBasedUnfoldTransitionProgressProvider to DeviceFoldStateProvider.
This change should not create problems to
FixedTimingTransitionProgressProvider, as it doesn't use any
intermediate FOLD_UPDATE event.
Test: Locally on device
Test atest com.android.systemui.unfold.updates.DeviceFoldStateProviderTest
Bug: 208977663
Change-Id: Ibc5df1e089d6543e7cf6ee2e0ce3d48a0b24cc07
Adds an interal method to check if an activity is being organized
by any process. This can be used by WM Jetpack Extensions APIs to
inform apps about their activities being embedded.
Bug: 204399167
Test: Manual, using demo app
Change-Id: I3a0ad021ad43c97bf9b92df05e9858aae143f62b
Bug: 201045056
Test: Verified that BiometricPrompt shows an error message if the user
is using face authentication and camera privacy is enabled.
Change-Id: Idc2140062c4aa87e0bcffb14e07336dc6cd7d955
SplitController#startActivityToSide is called from
SplitController#launchPlaceholderIfNecessary with
a null value for the failure callback. If the activity
launch to side fails, then startActivityToSide tries
to pass the failure to the failure callback, which is
null. This CL fixes this bug by checking if the failure
callback is null.
Bug: b/209296363
Test: existing tests pass
Test: launch settings app from overview and observe no crash
Change-Id: I6577d992f48acbaae6b0e9776e65933e779defe3
We should never pass real contexts into a unit test.
Test: atest LockscreenShadeTransitionControllerTest
Fixes: 209528556
Change-Id: I13446b5732327984d375fac6f68154f22374c130
...in TaskFragment
There may be a delay between when an activity is marked
to finish and when the WM hierarchy actually removes the
activity from the TaskFragment. In between this delay,
the TaskFragmentInfo will change because the runningActivityCount
will change, triggering an onTaskFragmentInfoChanged.
This callback is unncessary because there will be another
callback soon once the activity is removed from the hierarchy.
Bug: b/205901017
Test: atest CtsWindowManagerJetpackTestCases:ActivityEmbeddingLaunchTests
Change-Id: I64e08acc2a745f6f242996e99240fe4a8f0dea97
Merged-In: Id773ac3f0afea198ad4f8b4594d7a4cf0ad98ea8
TaskFragmentAnimationRunner is initialized using the
looper from the caller thread. This may cause a NPE
because the looper may be null if the
TaskFragmentAnimationRunner is initialized from a
non-main thread.
This CL creates a HandlerThread for the
TaskFragmentAnimationRunner so that it can be
initialized from any thread.
Bug: b/207662199
Test: atest CtsWindowManagerJetpackTestCases:ActivityEmbeddingLaunchTests
Change-Id: Id06b03380dc6dfa9122fca293df8948b4374c966
Goal:
1. Used for guiding users to agjust the settings config.
2. Reuse the previous tooltips for S to S MR.
Bug: 208992292
Test: manual test
Change-Id: I9a5b9b4d65813eefcaedc374ae0c5a0806eb07db
This prevents an incorrect animation that occurs if the first notification appears while QS is expanded.
Fixes: 201427195
Test: clear shade; expand QS; post notification; observe footer is never visible
Merged-In: Id00a168720a52b491ca3d2de1fbee7cf46b2a683
Change-Id: Id00a168720a52b491ca3d2de1fbee7cf46b2a683
- Show "See all" until there are results && there are more results than
can fit into the panel.
- See b/206061768#comment22 for a screenshot.
Bug: 206061768
Test: manual test
atest -c InternetDialogControllerTest \
InternetDialogTest
Change-Id: If58364d865ea4497ea270fddbe8ba409f6069391
* changes:
Change DialogLaunchAnimator X-axis interpolator
Extract interpolators and durations out of LaunchAnimator
Synchronize dialog launch animation using BLAST