summaryrefslogtreecommitdiff
path: root/libs/androidfw/PathUtils.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-11-12 03:23:27 +0000
committer Riddle Hsu <riddlehsu@google.com> 2024-11-12 04:53:10 +0000
commite76794adb566bb573717769814f6fc155bf561a7 (patch)
tree699a514ffac6e53e8be65fdf27f432437c8e15fc /libs/androidfw/PathUtils.cpp
parent66b4d2f754eae14facfadf5b2f1c34989e9f056c (diff)
Reduce showing starting window from a task trampoline
This skips adding a starting window when a task with starting window starts another existing task with task fragment organizer while the task snapshot cannot be used. That avoids showing consecutive 2 solid color slash starting windows in a short time with a task transition animation, which looks a bit redundant. Especially, if the second task is a task fragment host, then the starting window, the transition may wait for organizer to response after app has drawn, which could be also wasteful. Fix: 377973063 Flag: EXEMPT bugfix Test: LongClickMicMicrobenchmark Test: An existing TaskA with embedded activity in background. Launch a new TaskT. And TaskT launches the TaskA with a different intent (allowTaskSnapshot=false) in its activity's onCreate. Then wen moving TaskA to front, it should not have a starting window. Change-Id: I795ac2be0c56aaa2544f9b647cbadaf9b6c9fd98
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions