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

Commit

Permalink
Call surfaceChanged on private browsing session change
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro committed Nov 26, 2018
1 parent baa4947 commit 30f6d4e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ public void onCurrentSessionChange(GeckoSession aSession, int aId) {

mSessionId = aId;
mDisplay = aSession.acquireDisplay();
Log.d(LOGTAG, "surfaceChanged: " + aId);
callSurfaceChanged();
aSession.getTextInput().setView(this);

boolean isPrivateMode = aSession.getSettings().getBoolean(GeckoSessionSettings.USE_PRIVATE_MODE);
Expand Down

0 comments on commit 30f6d4e

Please sign in to comment.