Merge "Fix launch of activities into VR Virtual display" into oc-mr1-dev am: 488665d9e3
am: 129a54d29a
Change-Id: Ie3080c722c45249a32e9531eb1ba4ba080f65fce
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