Merge "Fix launch of activities into VR Virtual display" into oc-mr1-dev
am: 488665d9e3
Change-Id: Ia6d5cfffb8dddf2603a73ae88212fc7353948d67
This commit is contained in:
@@ -294,6 +294,8 @@ class Vr2dDisplay {
|
||||
|
||||
int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH;
|
||||
flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_ROTATES_WITH_CONTENT;
|
||||
flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC;
|
||||
flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY;
|
||||
mVirtualDisplay = mDisplayManager.createVirtualDisplay(null /* projection */,
|
||||
DISPLAY_NAME, mVirtualDisplayWidth, mVirtualDisplayHeight, mVirtualDisplayDpi,
|
||||
null /* surface */, flags, null /* callback */, null /* handler */,
|
||||
|
||||
Reference in New Issue
Block a user