summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-09-20 23:13:43 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-09-21 11:39:17 +0000
commit37e0fd63c3928c076b93a9b19fd76972b01a6c60 (patch)
tree1c942e5dfec7fc054166f58a78a786bebf89df75 /libs/androidfw/BackupHelpers.cpp
parentd64343cb4c27f7fdb0e054585306f411a99814cb (diff)
Only increase pending relaunch count if schedule is success
Otherwise the client won't report finishRelaunching to decrease mPendingRelaunchCount and cause ActivityRecord#isSyncFinished to return false. Also skip pre-loading recents(home) if its process is still cached (e.g. intermediate state when switching user). Otherwise the transaction may be failed by frozen state. Bug: 301034389 Test: atest RecentsAnimationTest#testPreloadRecentsActivity Test: Create multiple users with using different font size, wallpaper, dark theme. Launch several apps on each users. Switch between the users multiple times. There won't be transition timeout when returning from other apps to home. Merged-In: Ia2761e1e9fadf98ab952440ae884c12cc78697c8 Change-Id: Ia2761e1e9fadf98ab952440ae884c12cc78697c8
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions