1
0
Fork 0

Show a notification when add-on update requires new permissions

master
Arturo Mejia 2020-03-02 13:46:37 -05:00 committed by GitHub
parent e96732604b
commit 4cf34b47ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -326,7 +326,8 @@ open class FenixApplication : LocaleAwareApplication() {
}, },
onExtensionsLoaded = { extensions -> onExtensionsLoaded = { extensions ->
components.addonUpdater.registerForFutureUpdates(extensions) components.addonUpdater.registerForFutureUpdates(extensions)
} },
onUpdatePermissionRequest = components.addonUpdater::onUpdatePermissionRequest
) )
} catch (e: UnsupportedOperationException) { } catch (e: UnsupportedOperationException) {
Logger.error("Failed to initialize web extension support", e) Logger.error("Failed to initialize web extension support", e)