summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-01-11 11:58:20 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-01-11 12:01:47 +0000
commit8ef7d3fa6268f509dd1dabf9b352908db048d033 (patch)
treef6fa1e49bcb69133e1f2b50608be9a4b3516a023 /services/coverage/java
parentb0f1e19c1a8e956d0c5f72f783b7b6aa9e080709 (diff)
Support of restart process of non-top visible activity
Since the method restartTaskActivityProcessIfVisible is added, restartProcessIfVisible may not only be called for the top activity. Then if the current top finishes itself, there may be a timing that the restarting state is changed by resuming next. That will break the restart procedure when receiving onStop completion of the target app. By checking if the activity is scheduled to be restarted, the restarting state can be recovered and continue the procedure. Fix: 259042920 Test: SizeCompatTests#testRestartProcessIfVisible Change-Id: Idb5833480e7f029c9da3c3ea6e4d9df911df5a0c
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions