summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-09-21 12:58:50 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-09-21 13:28:49 +0000
commit98d050666d4f1d2adb19b77f27985f1e0156fef8 (patch)
treeed8d196d5277c0aaba24477a678f4155bc03d0af /libs/androidfw/ObbFile.cpp
parenta93ce5ac0be21bbc2eb1aa704a4fdfb9745053de (diff)
Adjust to next focusable task if top task is died
Since shell transition is enabled, there will also have a transition animation to handle app died. Then the died activity and task won't be removed immediately until the animation is finished. To be more specific, TaskDisplayArea#mPreferredTopFocusableRootTask is not changed to next task, so updateTopResumedActivityIfNeeded will early return without calling setLastResumedActivityUncheckLocked. Note that this will also change the animation style of the died task. Because previously the root task of home is not collected, the animation style is the default sliding out. Now the animation will match the remote animation rule of launcher so it will animate scaling to the icon on home. Bug: 301265227 Test: Launch Settings from home. adb shell am force-stop com.android.settings adb shell dumpsys window | grep mFocusedApp The output will show home activity. Change-Id: I8c99964df9e1f2d52779d41c23c6195fe3c87af3
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions