Merge "Fix: Recent Apps not closing"
This commit is contained in:
@@ -1541,10 +1541,6 @@ final class ActivityRecord extends ConfigurationContainer {
|
||||
if (stopped) {
|
||||
clearOptionsLocked();
|
||||
}
|
||||
|
||||
if (mAtmService != null) {
|
||||
mAtmService.getTaskChangeNotificationController().notifyTaskStackChanged();
|
||||
}
|
||||
}
|
||||
|
||||
UriPermissionOwner getUriPermissionsLocked() {
|
||||
|
||||
@@ -1794,6 +1794,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