Skip to content

Commit

Permalink
Closes mozilla-mobile#10231 update proton icons third batch
Browse files Browse the repository at this point in the history
  • Loading branch information
Amejia481 committed May 12, 2021
1 parent cc0a7f2 commit ff48f3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class GeckoSitePermissionsStorage(
private val geckoStorage: StorageController = runtime.storageController
private val mainScope = CoroutineScope(Dispatchers.Main)

/*
* At the moment gecko doesn't handle temporary permission see
* https://bugzilla.mozilla.org/show_bug.cgi?id=1710447
* */
@VisibleForTesting
internal val geckoTemporaryPermissions = mutableListOf<ContentPermission>()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,10 @@ class SitePermissionsFeature(
status = status,
permissions = request.permissions
)
storage.save(sitePermissions)
storage.save(sitePermissions, request)
} else {
sitePermissions = request.toSitePermissions(host, status, sitePermissions)
storage.update(sitePermissions)
storage.update(sitePermissions, request)
}
}
}
Expand Down

0 comments on commit ff48f3e

Please sign in to comment.