From a3e41e708868320b02342f29bc77e01ffff8d5cc Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Mon, 9 Dec 2013 11:59:45 -0500 Subject: Show hideycling for non-primary users. User 0 owns the window (system_server) but should be allowed to display on a user's behalf. Use the corresponding private flag for this system window, since we cannot classify it by type (TYPE_TOAST) in policy. Bug:12015090 Change-Id: I33aedb4624288415a5e1ae937676b693024546a9 --- .../src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java | 1 + 1 file changed, 1 insertion(+) (limited to 'policy/src') diff --git a/policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java b/policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java index 3e57a77..b734c41 100644 --- a/policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java +++ b/policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java @@ -178,6 +178,7 @@ public class ImmersiveModeConfirmation { | WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED , PixelFormat.TRANSLUCENT); + lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; lp.setTitle("ImmersiveModeConfirmation"); lp.windowAnimations = com.android.internal.R.style.Animation_RecentApplications; lp.gravity = Gravity.FILL; -- cgit v1.1