diff --git a/app/src/main/java/org/mozilla/fenix/addons/ExtensionProcessDisabledController.kt b/app/src/main/java/org/mozilla/fenix/addons/ExtensionProcessDisabledController.kt index 4d85768c22..65466426ea 100644 --- a/app/src/main/java/org/mozilla/fenix/addons/ExtensionProcessDisabledController.kt +++ b/app/src/main/java/org/mozilla/fenix/addons/ExtensionProcessDisabledController.kt @@ -53,10 +53,11 @@ class ExtensionProcessDisabledController( * Present a dialog to the user notifying of extension process spawning disabled and also asking * whether they would like to continue trying or disable extensions. If the user chooses to retry, * enable the extension process spawning with [WebExtensionController.enableExtensionProcessSpawning]. + * Otherwise, call [WebExtensionController.disableExtensionProcessSpawning]. * * @param context to show the AlertDialog * @param store The [BrowserStore] which holds the state for showing the dialog - * @param webExtensionController to call when a user enables the process spawning + * @param webExtensionController to call when the user enables or disables the process spawning * @param builder to use for creating the dialog which can be styled as needed * @param appName to be added to the message. Necessary to be added as a param for testing */ @@ -84,6 +85,7 @@ class ExtensionProcessDisabledController( onDismissDialog?.invoke() } findViewById