Merge "Add API to get compatibility display id"

This commit is contained in:
Karthik Ravi Shankar
2017-03-17 02:34:02 +00:00
committed by Android (Google) Code Review
4 changed files with 54 additions and 4 deletions

View File

@@ -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();
}