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

Commit b310070

Browse files
committed
Use reload instead of recreateSession when adding/removing exceptions
1 parent 171f3a3 commit b310070

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/common/shared/org/mozilla/vrbrowser/browser/engine/SessionStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void onExcludedTrackingProtectionChange(@NonNull String host, boolean exc
7070
mSessions.forEach(existingSession -> {
7171
String existingHost = UrlUtils.getHost(existingSession.getCurrentUri());
7272
if (existingHost.equals(host)) {
73-
existingSession.recreateSession();
73+
existingSession.reload(GeckoSession.LOAD_FLAGS_BYPASS_CACHE);
7474
}
7575
});
7676
}

0 commit comments

Comments
 (0)