summaryrefslogtreecommitdiff
path: root/api/api.go
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 05:45:40 +0000
commit23b9f3877217cd12107a8247b1aeb6c09db179ac (patch)
tree469627191db07c413faa475b7c8cb2a67d6faeed /api/api.go
parent27d32fd7addca69d5e82009609c14206878eb5cc (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. Change-Id: Ia2761e1e9fadf98ab952440ae884c12cc78697c8
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions