summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSean Stout <sstout@google.com>2020-11-19 15:19:49 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-11-19 15:19:49 +0000
commitc08629cd0c84640765e7cbb1dfa96e59cd684825 (patch)
tree2b886009214c77615017c3d4dc5bc9015be49c26 /core
parentf48a5e3d132521c53bc9f372e11de7dc5c273908 (diff)
parent7790b73220e18e501b6e51b092ec60e5b7090a17 (diff)
Merge "Implement Phase 5 of Separate Power States"
Diffstat (limited to 'core')
-rw-r--r--core/java/android/hardware/display/DisplayManagerInternal.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/hardware/display/DisplayManagerInternal.java b/core/java/android/hardware/display/DisplayManagerInternal.java
index defcab7c3035..5a03adee4eab 100644
--- a/core/java/android/hardware/display/DisplayManagerInternal.java
+++ b/core/java/android/hardware/display/DisplayManagerInternal.java
@@ -65,6 +65,12 @@ public abstract class DisplayManagerInternal {
public abstract boolean isProximitySensorAvailable();
/**
+ * Returns the id of the {@link com.android.server.display.DisplayGroup} to which the provided
+ * display belongs.
+ */
+ public abstract int getDisplayGroupId(int displayId);
+
+ /**
* Screenshot for internal system-only use such as rotation, etc. This method includes
* secure layers and the result should never be exposed to non-system applications.
* This method does not apply any rotation and provides the output in natural orientation.