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

Commit 3e06922

Browse files
authored
Fix build breakage (#3437)
1 parent 13d3362 commit 3e06922

File tree

1 file changed

+1
-3
lines changed
  • app/src/common/shared/org/mozilla/vrbrowser/ui/widgets

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,8 @@ public void restoreSessions() {
742742
if (windowState.tabIndex >= 0 && windowState.tabIndex < restoredSessions.size()) {
743743
Session defaultSession = targetWindow.getSession();
744744
Session session = restoredSessions.get(windowState.tabIndex);
745-
targetWindow.setupListeners(session);
745+
targetWindow.setSession(session, WindowWidget.DEACTIVATE_CURRENT_SESSION);
746746
session.setActive(true);
747-
targetWindow.setSession(session);
748-
SessionStore.get().setActiveSession(session);
749747
// Destroy the default blank session
750748
SessionStore.get().destroySession(defaultSession);
751749

0 commit comments

Comments
 (0)