diff options
author | Josh Yang <yzj@google.com> | 2021-08-05 12:26:41 -0700 |
---|---|---|
committer | Josh Yang <yzj@google.com> | 2021-08-09 17:29:32 +0000 |
commit | 73488550bb2ee699422f770ca65d1759f9e1d45c (patch) | |
tree | 2ace2ddc60f268f6a9e7d280a805fe0d9ee0c697 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | fbd41cbe7a23a047ec0c61962df67999c4f63e43 (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 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions