Bug 1901617 - Create onboarding checklist r=mviar,omc-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D221538
This commit is contained in:
Jason Prickett
2024-09-26 17:54:01 +00:00
parent fb5ed9a124
commit 2817fb56a2
15 changed files with 895 additions and 5 deletions

View File

@@ -550,6 +550,10 @@ function decodeAttributionValue(value) {
return decodedValue;
}
async function getPinStatus() {
return await ShellService.doesAppNeedPin();
}
const TargetingGetters = {
get locale() {
return Services.locale.appLocaleAsBCP47;
@@ -666,6 +670,9 @@ const TargetingGetters = {
get isDefaultBrowser() {
return QueryCache.getters.isDefaultBrowser.get().catch(() => null);
},
get isDefaultBrowserUncached() {
return ShellService.isDefaultBrowser();
},
get devToolsOpenedCount() {
return lazy.devtoolsSelfXSSCount;
},
@@ -873,6 +880,10 @@ const TargetingGetters = {
})();
},
get doesAppNeedPinUncached() {
return getPinStatus();
},
get doesAppNeedPrivatePin() {
return QueryCache.getters.doesAppNeedPrivatePin.get();
},