Merge "Implement launch bounds logic in Android (3/3)"

This commit is contained in:
TreeHugger Robot
2018-11-12 22:01:31 +00:00
committed by Android (Google) Code Review
16 changed files with 1377 additions and 79 deletions

View File

@@ -454,6 +454,19 @@ public final class Display {
return mDisplayId;
}
/**
* Gets the display unique id.
* <p>
* Unique id is different from display id because physical displays have stable unique id across
* reboots.
*
* @see com.android.service.display.DisplayDevice#hasStableUniqueId().
* @hide
*/
public String getUniqueId() {
return mDisplayInfo.uniqueId;
}
/**
* Returns true if this display is still valid, false if the display has been removed.
*