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

Commit 90b21160 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Only allow focused window to select seamless rotation. am: 828ec3dc

am: d2bacdaf

Change-Id: I1c3a083f34c224f04343cbd1ae390068c686cde8
parents 48a06672 d2bacdaf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7828,6 +7828,9 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        }

        final WindowState w = mTopFullscreenOpaqueWindowState;
        if (w != mFocusedWindow) {
            return false;
        }

        // We only enable seamless rotation if the top window has requested
        // it and is in the fullscreen opaque state. Seamless rotation