Merge "Clear task bounds data when removing non-bounds persistable task."
This commit is contained in:
committed by
Android (Google) Code Review
commit
7422a37434
@@ -4539,6 +4539,11 @@ final class ActivityStack {
|
||||
if (!moving) {
|
||||
mStackSupervisor.removeLockedTaskLocked(task);
|
||||
mWindowManager.removeTask(task.taskId);
|
||||
if (!StackId.persistTaskBounds(mStackId)) {
|
||||
// Reset current bounds for task whose bounds shouldn't be persisted so it uses
|
||||
// default configuration the next time it launches.
|
||||
task.updateOverrideConfiguration(null);
|
||||
}
|
||||
}
|
||||
|
||||
final ActivityRecord r = mResumedActivity;
|
||||
|
||||
Reference in New Issue
Block a user