Skip to content

Commit

Permalink
Force not opened session to be activated when the state is activated (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Apr 28, 2020
1 parent 12726e0 commit 278920a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -121,7 +121,7 @@ protected Session(Context aContext, GeckoRuntime aRuntime,
mRuntime = aRuntime;
initialize();
mState = createSession(aSettings, aOpenMode);
mState.setActive(true);
mState.setActive(aOpenMode == SESSION_OPEN);
}

protected Session(Context aContext, GeckoRuntime aRuntime, @NonNull SessionState aRestoreState) {
Expand Down

0 comments on commit 278920a

Please sign in to comment.