Merge "Fix: Recent Apps not closing"
This commit is contained in:
@@ -1541,10 +1541,6 @@ final class ActivityRecord extends ConfigurationContainer {
|
|||||||
if (stopped) {
|
if (stopped) {
|
||||||
clearOptionsLocked();
|
clearOptionsLocked();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mAtmService != null) {
|
|
||||||
mAtmService.getTaskChangeNotificationController().notifyTaskStackChanged();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UriPermissionOwner getUriPermissionsLocked() {
|
UriPermissionOwner getUriPermissionsLocked() {
|
||||||
|
|||||||
@@ -1794,6 +1794,7 @@ public class ActivityStackSupervisor implements RecentTasks.Callbacks {
|
|||||||
tr.removeTaskActivitiesLocked(pauseImmediately, reason);
|
tr.removeTaskActivitiesLocked(pauseImmediately, reason);
|
||||||
cleanUpRemovedTaskLocked(tr, killProcess, removeFromRecents);
|
cleanUpRemovedTaskLocked(tr, killProcess, removeFromRecents);
|
||||||
mService.getLockTaskController().clearLockedTask(tr);
|
mService.getLockTaskController().clearLockedTask(tr);
|
||||||
|
mService.getTaskChangeNotificationController().notifyTaskStackChanged();
|
||||||
if (tr.isPersistable) {
|
if (tr.isPersistable) {
|
||||||
mService.notifyTaskPersisterLocked(null, true);
|
mService.notifyTaskPersisterLocked(null, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user