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

Commit 7ae50626 authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "Only allow focused window to select seamless rotation." into nyc-mr1-dev

parents d6ece3e1 828ec3dc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7756,6 +7756,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