diff --git a/app/src/common/shared/org/mozilla/vrbrowser/browser/content/TrackingProtectionStore.java b/app/src/common/shared/org/mozilla/vrbrowser/browser/content/TrackingProtectionStore.java index 713631c6a..b305fa110 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/browser/content/TrackingProtectionStore.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/browser/content/TrackingProtectionStore.java @@ -178,7 +178,17 @@ public void remove(@NonNull SitePermission permission) { public void removeAll() { // We can't use clearExceptionList as that clears also the private browsing exceptions - mSitePermissions.forEach(this::remove); + mSitePermissions.forEach(permission -> { + ContentBlockingException exception = toContentBlockingException(permission); + if (exception != null) { + mContentBlockingController.removeException(exception); + } + mListeners.forEach(listener -> listener.onExcludedTrackingProtectionChange( + permission.url, + false, + false)); + }); + saveExceptions(); } private void saveExceptions() {