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

Commit 46ff588

Browse files
authored
Call GeckoSession.setActive(true) even if the session is already active (#3325)
1 parent d0f94b5 commit 46ff588

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • app/src/common/shared/org/mozilla/vrbrowser/browser/engine

app/src/common/shared/org/mozilla/vrbrowser/browser/engine/Session.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,7 @@ public void setActive(boolean aActive) {
773773
}
774774

775775
if (mState.mSession != null) {
776-
if (mState.isActive() != aActive) {
777-
mState.mSession.setActive(aActive);
778-
}
776+
mState.mSession.setActive(aActive);
779777
mState.setActive(aActive);
780778
} else if (aActive) {
781779
restore();

0 commit comments

Comments
 (0)