summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Chris Li <lihongyu@google.com> 2022-11-23 21:50:21 +0800
committer Chris Li <lihongyu@google.com> 2022-11-29 23:43:14 +0800
commit851685c401be5a153c55090d69d7408b51667e74 (patch)
treeeb335de6cf0230a4de3897e3b7de0331bd76157b /libs/androidfw/ConfigDescription.cpp
parent4013b5600d36a4e4d33899570b843f5dd7ce477e (diff)
Request legacy app transition when moveActivityToFront
Before, when there is no ActivityEmbedding, the transition is requested later when the previous top Activity is paused to resume the Task top, which works ok. But when there is ActivityEmbedding, the organizer may request WCT that trigger visibility update before a transition is requested, which cause a flicker. When startActivity with FLAG_ACTIVITY_REORDER_TO_FRONT to bring an existing activity to the front, we should call prepareAppTransition early to make sure the following activity visibility change is tracked. Fix: 255701223 Test: verify with FLAG_ACTIVITY_REORDER_TO_FRONT app Change-Id: I65d4ffd1c17d6817c073122447e620a2fbb514a1
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions