Skip to content
Snippets Groups Projects
Commit 4a0b3ca3 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

fixup! [android] Modify add-on support

Make eslint happy
parent 3cf176d2
No related branches found
No related tags found
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -362,8 +362,9 @@ async function exportExtension(aAddon, aSourceURI) {
privateBrowsingAllowed = policy.privateBrowsingAllowed;
} else {
const { permissions } = await lazy.ExtensionPermissions.get(aAddon.id);
privateBrowsingAllowed = permissions.includes(PRIVATE_BROWSING_PERM_NAME)
|| lazy.PrivateBrowsingUtils.permanentPrivateBrowsing;
privateBrowsingAllowed =
permissions.includes(PRIVATE_BROWSING_PERM_NAME) ||
lazy.PrivateBrowsingUtils.permanentPrivateBrowsing;
}
let updateDate;
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment