diff options
| author | Josh Yang <yzj@google.com> | 2021-08-05 12:26:41 -0700 |
|---|---|---|
| committer | Josh Yang <yzj@google.com> | 2021-08-06 18:15:44 +0000 |
| commit | 0fd13e84995596cb59cbcb52f85284c75a8e6542 (patch) | |
| tree | 7fcd1ac5a362953c50199af678d62b629ab1fd11 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 3901dc497954000aff1a386ee413e002b5a081cb (diff) | |
Allow ActivityOptions remote animation override per-display remote
animation.
Double check if there is already a remote animation override before
applying the override from AppTransitionController.
We have a global RA adapter registered via
ActivityTaskManager.registerRemoteAnimationsForDisplay(),
which will be passed to
AppTransitionController.mRemoteAnimationDefinition.
It seems that when we have another adapter passed via
ActivityOptions, it will be delivered to
AppTransition.overridePendingAppTransitionRemote().
We want to allow the 2nd RA take precedence over the 1st RA. This CL
does so by not passing AppTransitionController's RA adapter to
AppTransition if AppTransition already has a RA adapter.
Bug: 195674714
Fix: 195674714
Test: manually tested
Change-Id: I076c2d2fb304d1032725143b00c0981319bf9f25
(cherry picked from commit 9c0f2376e2b9e40a6cd63a116b3d0d684baafb54)
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
