Skip to content

Commit

Permalink
Merge pull request #1151 from shankari/hack_to_disable_unused_app_che…
Browse files Browse the repository at this point in the history
…ck_for_android_fermata

💩 Turn off the background checks for fleet deployments
  • Loading branch information
shankari authored May 5, 2024
2 parents 958918d + 9921c52 commit 9f3fc59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion www/js/usePermissionStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,11 @@ const usePermissionStatus = () => {
refresh: checkBatteryOpt,
};
let tempChecks = checkList;
tempChecks.push(unusedAppsUnrestrictedCheck, ignoreBatteryOptCheck);
if (appConfig.tracking?.bluetooth_only) {
tempChecks.push(ignoreBatteryOptCheck);
} else {
tempChecks.push(unusedAppsUnrestrictedCheck, ignoreBatteryOptCheck);
}
setCheckList(tempChecks);
}

Expand Down

0 comments on commit 9f3fc59

Please sign in to comment.