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

Commit

Permalink
Do not save fullscreen state when paused. Fixes #1958 (#2169)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin authored and MortimerGoro committed Nov 5, 2019
1 parent 7df8c96 commit 7fcabcb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class SessionState {
public String mUri = "";
public String mPreviousUri;
public String mTitle = "";
public boolean mFullScreen;
public transient boolean mFullScreen;
public transient GeckoSession mSession;
public SessionSettings mSettings;
public transient ArrayList<Media> mMediaElements = new ArrayList<>();
Expand Down Expand Up @@ -79,7 +79,6 @@ public void write(JsonWriter out, T value) throws IOException {
out.name("mUri").value(session.mUri);
out.name("mPreviousUri").value(session.mPreviousUri);
out.name("mTitle").value(session.mTitle);
out.name("mFullScreen").value(session.mFullScreen);
out.name("mSettings").jsonValue(gson.toJson(session.mSettings));
out.name("mLastUse").value(session.mLastUse);
out.name("mRegion").value(session.mRegion);
Expand Down

0 comments on commit 7fcabcb

Please sign in to comment.