We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 720d14d + 4b5aa78 commit 3e2358aCopy full SHA for 3e2358a
services/java/com/android/server/wm/WindowManagerService.java
@@ -3639,8 +3639,6 @@ public void removeWindowToken(IBinder token) {
3639
if (wtoken != null) {
3640
boolean delayed = false;
3641
if (!wtoken.hidden) {
3642
- wtoken.hidden = true;
3643
-
3644
final int N = wtoken.windows.size();
3645
boolean changed = false;
3646
@@ -3661,6 +3659,8 @@ public void removeWindowToken(IBinder token) {
3661
3659
}
3662
3660
3663
+ wtoken.hidden = true;
+
3664
if (changed) {
3665
performLayoutAndPlaceSurfacesLocked();
3666
updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL,
0 commit comments