summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2024-01-23 10:28:24 +0000
committer wilsonshih <wilsonshih@google.com> 2024-06-04 19:27:00 +0800
commit262fe527a159eb428a57647eb955758bc918e13a (patch)
treee3a10b446769fe48011a6c7667a7fbb87498136f /native/android/input.cpp
parent7877e67628cc78365eb6315c6fba9a7bfaf42a21 (diff)
Polish a weird transition that open animation can apply on non-top task.
When app relaunch an translucent activity then clear any activities above it, if above activity(ies) was opaque and fill_task, that startActivity transition will also collect any below activity/task due to it become visible. But that visible change can confuse DefaultTransitionHandler because it will create an opening(slide-in) animation for the non-top change. Add the OCCLUDED flag for those changes which belows non-translucent target, so they can be filter out if no animation is requested. Bug: 318877215 Test: repeatly launch OmnientActivity while CCT is above it, verify no strange opening task animation occur. Change-Id: Idce88c839b26db1def7aec0a220bfb8110c54e5c
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions