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

Commit 240f611

Browse files
authored
Fix SitePermission crash (#3251)
1 parent d673d48 commit 240f611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/common/shared/org/mozilla/vrbrowser/browser/PermissionDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public void addPermissionException(@NonNull String uri, @SitePermission.Category
300300
.findFirst().orElse(null);
301301

302302
if (site == null) {
303-
site = new SitePermission(uri,null, category);
303+
site = new SitePermission(uri, "", category);
304304
mSitePermissions.add(site);
305305
}
306306
mSitePermissionModel.insertSite(site);

0 commit comments

Comments
 (0)