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

Commit de304870 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

am: 90b21160

Change-Id: Ia98b8e29873cf3a92e09a5206867dd0acef7264a
parents 583323dd 90b21160
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7834,6 +7834,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