Merge "Implement launch bounds logic in Android (3/3)"
This commit is contained in:
committed by
Android (Google) Code Review
commit
581cccdde9
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user