Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6a776fc5 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 9a50b8ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment