diff options
author | Joe Onorato <joeo@google.com> | 2011-01-25 12:06:23 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2011-01-26 10:32:18 -0800 |
commit | 644f9c3ad93f6674abff4143b78404cd222b5e30 (patch) | |
tree | a3d1ef8e1a04c9afc4c6efb448858604164dcfac /policy | |
parent | d8b525c398aeda1f583ed4ed90450e0a0fc9b6ef (diff) | |
download | frameworks_base-644f9c3ad93f6674abff4143b78404cd222b5e30.zip frameworks_base-644f9c3ad93f6674abff4143b78404cd222b5e30.tar.gz frameworks_base-644f9c3ad93f6674abff4143b78404cd222b5e30.tar.bz2 |
Make FLAG_FULLSCREEN not go into lights out mode anymore.
Change-Id: I4a0aa8789f537717f82df4efb6a35108e1ab1784
Diffstat (limited to 'policy')
-rwxr-xr-x | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 9b5c42e..d2a4823 100755 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -1892,14 +1892,12 @@ public class PhoneWindowManager implements WindowManagerPolicy { + (topNeedsMenu ? "needs" : "does not need") + " the MENU key"); - final boolean changedFullscreen = (mTopIsFullscreen != topIsFullscreen); + mTopIsFullscreen = topIsFullscreen; final boolean changedMenu = (topNeedsMenu != mShowMenuKey); - if (changedFullscreen || changedMenu) { - final boolean topIsFullscreenF = topIsFullscreen; + if (changedMenu) { final boolean topNeedsMenuF = topNeedsMenu; - mTopIsFullscreen = topIsFullscreen; mShowMenuKey = topNeedsMenu; mHandler.post(new Runnable() { @@ -1918,9 +1916,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { if (changedMenu) { sbs.setMenuKeyVisible(topNeedsMenuF); } - if (changedFullscreen) { - sbs.setActiveWindowIsFullscreen(topIsFullscreenF); - } } catch (RemoteException e) { // This should be impossible because we're in the same process. mStatusBarService = null; |