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
Loading
Please register or sign in to comment