Merge "Add API to get compatibility display id"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e6ccc3e816
@@ -50,5 +50,13 @@ interface IVrManager {
|
||||
* @param enabled true if the device should be placed in persistent VR mode.
|
||||
*/
|
||||
void setPersistentVrModeEnabled(in boolean enabled);
|
||||
|
||||
/**
|
||||
* Return current virtual display id.
|
||||
*
|
||||
* @return {@link android.view.Display.INVALID_DISPLAY} if there is no virtual display
|
||||
* currently, else return the display id of the virtual display
|
||||
*/
|
||||
int getCompatibilityDisplayId();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user