diff options
| author | 2023-05-17 23:18:12 +0800 | |
|---|---|---|
| committer | 2023-05-17 15:38:56 +0000 | |
| commit | 6a776fc55a916a9a789bfd0ee25cbfea50c773c0 (patch) | |
| tree | 2427dc09f463c3772a5bdc42a64e92326c629a19 /libs/androidfw/ApkParsing.cpp | |
| parent | 9a50b8adbc03d694d35613bf19715c44556b1325 (diff) | |
Wait for relaunching activity to finish sync
Otherwise the sync group may be finished too early and then the
animation will start too early.
E.g. when changing wallpaper (theme color), sometimes it may triggers
multiple CONFIG_ASSETS_PATHS changes. The sequence could be
config_change_1 -> drawn_1 (finish sync)
-> config_change_2 -> animation starts by 1 -> drawn_2.
Then if the activity is relaunching without preserving window and
the animation finishes before "drawn_2" happens, it will show
black screen.
Bug: 282200672
Test: atest SyncEngineTests#testWaitingSyncCallback
Change-Id: I044f194150dee563f9df5e93f19a47bd8f384c6a
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions