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