Only allow focused window to select seamless rotation. am: 828ec3dc51
am: d2bacdaf6d
Change-Id: I1c3a083f34c224f04343cbd1ae390068c686cde8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user