Skip to content

Commit

Permalink
Call GeckoSession.setActive(true) even if the session is already acti…
Browse files Browse the repository at this point in the history
…ve (#3325)
  • Loading branch information
MortimerGoro committed May 5, 2020
1 parent d0f94b5 commit 46ff588
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -773,9 +773,7 @@ public void setActive(boolean aActive) {
}

if (mState.mSession != null) {
if (mState.isActive() != aActive) {
mState.mSession.setActive(aActive);
}
mState.mSession.setActive(aActive);
mState.setActive(aActive);
} else if (aActive) {
restore();
Expand Down

0 comments on commit 46ff588

Please sign in to comment.