summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2014-05-27 14:24:04 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-27 14:24:04 +0000
commitb45a730efb75402faf2bfb2fdf3f26ceaab6148c (patch)
tree75a3713e5e8d16927e6553cd012286e2971f18a7 /services
parent8aa29921df684f2a991d12aa360d80ced7dc7b48 (diff)
parent1f74bad9acd816cd0974ca7d8a9eafe7f671ee57 (diff)
downloadframeworks_base-b45a730efb75402faf2bfb2fdf3f26ceaab6148c.zip
frameworks_base-b45a730efb75402faf2bfb2fdf3f26ceaab6148c.tar.gz
frameworks_base-b45a730efb75402faf2bfb2fdf3f26ceaab6148c.tar.bz2
Merge changes I88865c02,I34cc1310 into lmp-preview-dev
* changes: Check for null DO NOT MERGE Improve DocCentric documentation. DO NOT MERGE
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/wm/WindowManagerService.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/wm/WindowManagerService.java b/services/core/java/com/android/server/wm/WindowManagerService.java
index 6fbb39d..c23d1ea 100644
--- a/services/core/java/com/android/server/wm/WindowManagerService.java
+++ b/services/core/java/com/android/server/wm/WindowManagerService.java
@@ -3189,6 +3189,7 @@ public class WindowManagerService extends IWindowManager.Stub
WindowState win = atoken.findMainWindow();
Rect containingFrame = new Rect(0, 0, width, height);
Rect contentInsets = new Rect();
+ boolean isFullScreen = true;
if (win != null) {
if (win.mContainingFrame != null) {
containingFrame.set(win.mContainingFrame);
@@ -3196,11 +3197,11 @@ public class WindowManagerService extends IWindowManager.Stub
if (win.mContentInsets != null) {
contentInsets.set(win.mContentInsets);
}
+ isFullScreen =
+ ((win.mSystemUiVisibility & SYSTEM_UI_FLAGS_LAYOUT_STABLE_FULLSCREEN) ==
+ SYSTEM_UI_FLAGS_LAYOUT_STABLE_FULLSCREEN);
}
- boolean isFullScreen =
- ((win.mSystemUiVisibility & SYSTEM_UI_FLAGS_LAYOUT_STABLE_FULLSCREEN)
- == SYSTEM_UI_FLAGS_LAYOUT_STABLE_FULLSCREEN);
Animation a = mAppTransition.loadAnimation(lp, transit, enter, width, height,
mCurConfiguration.orientation, containingFrame, contentInsets, isFullScreen);
if (a != null) {