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

Commit 47137aa

Browse files
authored
Do not exit fullscreen if it was autoentered (#3273)
1 parent fe05ee7 commit 47137aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/NavigationBarWidget.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ private void initialize(@NonNull Context aContext) {
160160
};
161161
mVRVideoBackHandler = () -> {
162162
exitVRVideo();
163-
if (mAttachedWindow != null) {
163+
if (mAttachedWindow != null &&
164+
mViewModel.getAutoEnteredVRVideo().getValue().get()) {
164165
mAttachedWindow.setIsFullScreen(false);
165166
}
166167
};

0 commit comments

Comments
 (0)