Merge "Fix: Recent Apps not closing" am: 0d5b27b2db am: c130b41517
am: e0784ef31c
Change-Id: I45139d0e8d284b1ed20706e425742c1bfcd8cb40
This commit is contained in:
@@ -1543,10 +1543,6 @@ final class ActivityRecord extends ConfigurationContainer {
|
||||
if (stopped) {
|
||||
clearOptionsLocked();
|
||||
}
|
||||
|
||||
if (mAtmService != null) {
|
||||
mAtmService.getTaskChangeNotificationController().notifyTaskStackChanged();
|
||||
}
|
||||
}
|
||||
|
||||
UriPermissionOwner getUriPermissionsLocked() {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user