Merge "Delay setting hidden until after isVisibleNow test." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3e2358a0e6
@@ -3639,8 +3639,6 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
if (wtoken != null) {
|
if (wtoken != null) {
|
||||||
boolean delayed = false;
|
boolean delayed = false;
|
||||||
if (!wtoken.hidden) {
|
if (!wtoken.hidden) {
|
||||||
wtoken.hidden = true;
|
|
||||||
|
|
||||||
final int N = wtoken.windows.size();
|
final int N = wtoken.windows.size();
|
||||||
boolean changed = false;
|
boolean changed = false;
|
||||||
|
|
||||||
@@ -3661,6 +3659,8 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wtoken.hidden = true;
|
||||||
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
performLayoutAndPlaceSurfacesLocked();
|
performLayoutAndPlaceSurfacesLocked();
|
||||||
updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL,
|
updateFocusedWindowLocked(UPDATE_FOCUS_NORMAL,
|
||||||
|
|||||||
Reference in New Issue
Block a user