summaryrefslogtreecommitdiff
path: root/core/java/android/view/Display.java
diff options
context:
space:
mode:
authorSean Stout <sstout@google.com>2020-10-26 23:10:03 -0700
committerSean Stout <sstout@google.com>2020-10-27 18:38:55 -0700
commita9f63583d017dc10a3a0d2daa3c0e5219a3d686b (patch)
tree2f3de01a5b2fe7178be47d3e3b45f9f94a42a1e5 /core/java/android/view/Display.java
parent4aad7e9d83ea1d875f08b56d574dca25c0c2de5a (diff)
Introduce DisplayGroup
A DisplayGroup is a collection of LogicalDisplays which are tied together for certain behaviors and operations. This CL simply introduces the class, however in the future it will be used for multi-display power state work. Bug: 138328918 Test: manual - build and deploy Change-Id: I3d736b2758a3363678afc962872fcbe7f4e96806
Diffstat (limited to 'core/java/android/view/Display.java')
-rw-r--r--core/java/android/view/Display.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java
index 34e8221bc971..ab76e4aea993 100644
--- a/core/java/android/view/Display.java
+++ b/core/java/android/view/Display.java
@@ -262,6 +262,15 @@ public final class Display {
public static final int FLAG_TRUSTED = 1 << 7;
/**
+ * Flag: Indicates that the display should not be a part of the default DisplayGroup and
+ * instead be part of a new DisplayGroup.
+ *
+ * @hide
+ * @see #getFlags()
+ */
+ public static final int FLAG_OWN_DISPLAY_GROUP = 1 << 8;
+
+ /**
* 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.