Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
It's preferable to hide the windows first to avoid max layers race co…
Browse files Browse the repository at this point in the history
…nditions
  • Loading branch information
MortimerGoro committed Sep 4, 2019
1 parent 547d429 commit 49651ea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,12 @@ public void exitPrivateMode() {
mPrivateMode = false;
updateCurvedMode(true);
mPrivateWindowPlacement = mFocusedWindow.getWindowPlacement();
for (WindowWidget window: mRegularWindows) {
setWindowVisible(window, true);
}
for (WindowWidget window: mPrivateWindows) {
setWindowVisible(window, false);
}
for (WindowWidget window: mRegularWindows) {
setWindowVisible(window, true);
}
focusWindow(getWindowWithPlacement(mRegularWindowPlacement));
updateViews();
mWidgetManager.popWorldBrightness(this);
Expand Down

0 comments on commit 49651ea

Please sign in to comment.