diff options
author | keunyoung <keunyoung@google.com> | 2013-06-21 19:07:57 -0700 |
---|---|---|
committer | keunyoung <keunyoung@google.com> | 2013-07-12 14:41:10 -0700 |
commit | a446bf0e8c7b5f5441aeb11b359ba6776b9b3061 (patch) | |
tree | 879a663e8aa6032c2acec3ce7ca4a7750920d320 /policy | |
parent | cda564d6eaf578184c125e59b6f43c6d4af1aed3 (diff) | |
download | frameworks_base-a446bf0e8c7b5f5441aeb11b359ba6776b9b3061.zip frameworks_base-a446bf0e8c7b5f5441aeb11b359ba6776b9b3061.tar.gz frameworks_base-a446bf0e8c7b5f5441aeb11b359ba6776b9b3061.tar.bz2 |
add TYPE_PRIVATE_PRESENTATION window type
- This window type can be used for Presentation created on top of virtual
private display.
- There can be PRIVATE_PRESENTATION specific policy / behavior, but for now,
there is nothing special.
Change-Id: I9fde0f0376e57fcc60000d3a3f8657a21ef58993
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index 262b7ee..cd53800 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -1232,6 +1232,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { case TYPE_DREAM: case TYPE_INPUT_METHOD: case TYPE_WALLPAPER: + case TYPE_PRIVATE_PRESENTATION: // The window manager will check these. break; case TYPE_PHONE: @@ -1294,6 +1295,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { case TYPE_SYSTEM_DIALOG: case TYPE_UNIVERSE_BACKGROUND: case TYPE_VOLUME_OVERLAY: + case TYPE_PRIVATE_PRESENTATION: break; } @@ -1366,6 +1368,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { switch (type) { case TYPE_UNIVERSE_BACKGROUND: return 1; + case TYPE_PRIVATE_PRESENTATION: + return 2; case TYPE_WALLPAPER: // wallpaper is at the bottom, though the window manager may move it. return 2; |