Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18eedbac authored by Suchi Amalapurapu's avatar Suchi Amalapurapu Committed by Android Git Automerger
Browse files

am a47a1e77: Merge change Ic03d28b9 into eclair

Merge commit 'a47a1e77' into eclair-mr2

* commit 'a47a1e77':
  Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
parents 0fca5b45 a47a1e77
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9644,7 +9644,8 @@ public class WindowManagerService extends IWindowManager.Stub
                            WindowState w = (WindowState)mWindows.get(i);
                            if (w.mSurface != null) {
                                final WindowManager.LayoutParams attrs = w.mAttrs;
                                if (mPolicy.doesForceHide(w, attrs)) {
                                if (mPolicy.doesForceHide(w, attrs) && w.isVisibleLw()) {
                                    if (DEBUG_FOCUS) Log.i(TAG, "win=" + w + " force hides other windows");
                                    forceHiding = true;
                                } else if (mPolicy.canBeForceHidden(w, attrs)) {
                                    if (!w.mAnimating) {