Merge "Call ensureActivitiesVisibleLocked when setShowWhenLocked"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9cec424da6
@@ -2747,6 +2747,8 @@ final class ActivityRecord extends ConfigurationContainer implements AppWindowCo
|
||||
|
||||
void setShowWhenLocked(boolean showWhenLocked) {
|
||||
mShowWhenLocked = showWhenLocked;
|
||||
mStackSupervisor.ensureActivitiesVisibleLocked(null, 0 /* configChanges */,
|
||||
false /* preserveWindows */);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user