diff options
| author | Antony Sargent <asargent@google.com> | 2021-12-01 17:12:48 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-12-01 17:12:48 +0000 |
| commit | fead48301ac3a6a05574cbf5639f4e2ce7f089c6 (patch) | |
| tree | 0af96609851cbe5be1de7ca3346611e008efc441 /core/java/android/view/Display.java | |
| parent | 508c3a8bc52225d6a4d2d512a3b5b35707676103 (diff) | |
| parent | e5058b0cc394d66dd822e2394e801543cb6a56ff (diff) | |
Merge "Add a flag for allowing always unlocked virtual displays"
Diffstat (limited to 'core/java/android/view/Display.java')
| -rw-r--r-- | core/java/android/view/Display.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java index 8259a9d98125..3cc51c7e8b51 100644 --- a/core/java/android/view/Display.java +++ b/core/java/android/view/Display.java @@ -299,6 +299,15 @@ public final class Display { public static final int FLAG_OWN_DISPLAY_GROUP = 1 << 8; /** + * Flag: Indicates that the display should always be unlocked. Only valid on virtual displays + * that aren't in the default display group. + * + * @hide + * @see #getFlags() + */ + public static final int FLAG_ALWAYS_UNLOCKED = 1 << 9; + + /** * Display flag: Indicates that the contents of the display should not be scaled * to fit the physical screen dimensions. Used for development only to emulate * devices with smaller physicals screens while preserving density. |
