summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-03-01 15:34:41 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-03-01 22:56:11 +0800
commit93845662e72104484455bbca1dad74829dbd2dcd (patch)
tree6b2afb498d5e533583009823b8ea4b0d6259874f /libs/androidfw/StringPool.cpp
parentdd218cbaf8b16fe610f40de8d640c7b822a43ca1 (diff)
Update launch policy state when finishing transient launch
This aligns with the legacy implementation of RecentsAnimation#finishAnimation: If it is returning to home, it will call stopAppSwitches and moveTaskToFront -> TDA#onChildPositionChanged -> RWC#invalidateTaskLayers. Legacy: move home to top at the end. Shell: move home to top at the at the beginning. So manual call rankTaskLayers for shell transition. Then the background launch restriction can detect the valid states for the launches after the swipe-to-home gesture is done. Bug: 270383113 Test: atest TransitionTests#testTransientLaunch Change-Id: I0987f2a0afa2bf599322d37acfe19d40060f7879
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions