Merge "Fix: Recent Apps not closing" am: 0d5b27b2db

am: c130b41517

Change-Id: If8bffd34efab2a6b7ce5d2d4900950769290c5bf
This commit is contained in:
Riddle Hsu
2019-10-16 09:08:11 -07:00
committed by android-build-merger
2 changed files with 1 additions and 4 deletions

View File

@@ -1543,10 +1543,6 @@ final class ActivityRecord extends ConfigurationContainer {
if (stopped) {
clearOptionsLocked();
}
if (mAtmService != null) {
mAtmService.getTaskChangeNotificationController().notifyTaskStackChanged();
}
}
UriPermissionOwner getUriPermissionsLocked() {

View File

@@ -1809,6 +1809,7 @@ public class ActivityStackSupervisor implements RecentTasks.Callbacks {
tr.removeTaskActivitiesLocked(pauseImmediately, reason);
cleanUpRemovedTaskLocked(tr, killProcess, removeFromRecents);
mService.getLockTaskController().clearLockedTask(tr);
mService.getTaskChangeNotificationController().notifyTaskStackChanged();
if (tr.isPersistable) {
mService.notifyTaskPersisterLocked(null, true);
}