diff options
| author | Sean Stout <sstout@google.com> | 2020-11-19 15:19:49 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-11-19 15:19:49 +0000 |
| commit | c08629cd0c84640765e7cbb1dfa96e59cd684825 (patch) | |
| tree | 2b886009214c77615017c3d4dc5bc9015be49c26 /core | |
| parent | f48a5e3d132521c53bc9f372e11de7dc5c273908 (diff) | |
| parent | 7790b73220e18e501b6e51b092ec60e5b7090a17 (diff) | |
Merge "Implement Phase 5 of Separate Power States"
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/hardware/display/DisplayManagerInternal.java | 6 |
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. |
