diff options
author | John Spurlock <jspurlock@google.com> | 2013-12-09 11:59:45 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2013-12-09 11:59:45 -0500 |
commit | 0513d5abb6f457cda3a279d63ce02a8fdaa8e32a (patch) | |
tree | c3ded1ca0a7e336af819927f48f1b5e744bb8352 /policy | |
parent | 0ddca999d75caa55ed36c5c99bd3f48ae96dbe67 (diff) | |
download | frameworks_base-0513d5abb6f457cda3a279d63ce02a8fdaa8e32a.zip frameworks_base-0513d5abb6f457cda3a279d63ce02a8fdaa8e32a.tar.gz frameworks_base-0513d5abb6f457cda3a279d63ce02a8fdaa8e32a.tar.bz2 |
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
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/ImmersiveModeConfirmation.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; |