From 7f4820ae4ece1689656802a44642930fc69b2d69 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Tue, 8 Oct 2013 12:54:35 -0400 Subject: Translucent sysui flags affect layout. Recently removed when they went private, but that was wrong: they still affect layout. Bug:11128955 Change-Id: Ic94230732a6b2ff3dcaa79b03e181a4e46585902 --- policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'policy/src') diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 3468425..9beeba6 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -163,7 +163,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { */ static final int SYSTEM_UI_CHANGING_LAYOUT = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION - | View.SYSTEM_UI_FLAG_FULLSCREEN; + | View.SYSTEM_UI_FLAG_FULLSCREEN + | View.STATUS_BAR_TRANSLUCENT + | View.NAVIGATION_BAR_TRANSLUCENT; /** * Keyguard stuff -- cgit v1.1