diff --git a/app/src/main/java/org/mozilla/fenix/components/PermissionStorage.kt b/app/src/main/java/org/mozilla/fenix/components/PermissionStorage.kt index 145a972af5..2ddf271c26 100644 --- a/app/src/main/java/org/mozilla/fenix/components/PermissionStorage.kt +++ b/app/src/main/java/org/mozilla/fenix/components/PermissionStorage.kt @@ -9,13 +9,14 @@ import androidx.paging.DataSource import mozilla.components.feature.sitepermissions.SitePermissions import mozilla.components.feature.sitepermissions.SitePermissions.Status import mozilla.components.feature.sitepermissions.SitePermissionsStorage +import org.mozilla.fenix.ext.components import org.mozilla.fenix.test.Mockable @Mockable class PermissionStorage(private val context: Context) { private val permissionsStorage by lazy { - SitePermissionsStorage(context) + SitePermissionsStorage(context, context.components.core.engine) } fun addSitePermissionException(