Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 2c1235e

Browse files
MortimerGorobluemarvin
authored andcommitted
Fix Vive Focus Plus casting (#1358)
1 parent 5354489 commit 2c1235e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎app/src/common/shared/org/mozilla/vrbrowser/ui/OffscreenDisplay.java‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ public void onResume() {
8080
DisplayManager manager = (DisplayManager) mContext.getSystemService(Context.DISPLAY_SERVICE);
8181
Display defaultDisplay = manager.getDisplay(Display.DEFAULT_DISPLAY);
8282

83-
int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY |
84-
DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION |
85-
DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC;
83+
int flags = DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY;
8684
defaultDisplay.getMetrics(mDefaultMetrics);
8785

8886
mVirtualDisplay = manager.createVirtualDisplay("OffscreenViews", mWidth, mHeight,

0 commit comments

Comments
 (0)