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

Commit

Permalink
Use reload instead of recreateSession when adding/removing exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin committed Apr 22, 2020
1 parent 171f3a3 commit b310070
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void onExcludedTrackingProtectionChange(@NonNull String host, boolean exc
mSessions.forEach(existingSession -> {
String existingHost = UrlUtils.getHost(existingSession.getCurrentUri());
if (existingHost.equals(host)) {
existingSession.recreateSession();
existingSession.reload(GeckoSession.LOAD_FLAGS_BYPASS_CACHE);
}
});
}
Expand Down

0 comments on commit b310070

Please sign in to comment.