diff options
author | John Spurlock <jspurlock@google.com> | 2013-12-09 11:59:45 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-03-04 10:08:56 -0500 |
commit | a3e41e708868320b02342f29bc77e01ffff8d5cc (patch) | |
tree | 1ba9cb81e8fe983c6b63e394a083243fd451c055 /policy/src | |
parent | 81479358decb0a2cefbb8245e0f56ed0e966d697 (diff) | |
download | frameworks_base-a3e41e708868320b02342f29bc77e01ffff8d5cc.zip frameworks_base-a3e41e708868320b02342f29bc77e01ffff8d5cc.tar.gz frameworks_base-a3e41e708868320b02342f29bc77e01ffff8d5cc.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/src')
-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; |