Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💩 Turn off the background checks for fleet deployments #1151

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
refresh: checkBatteryOpt,
};
let tempChecks = checkList;
tempChecks.push(unusedAppsUnrestrictedCheck, ignoreBatteryOptCheck);
if (appConfig.tracking?.bluetooth_only) {
tempChecks.push(ignoreBatteryOptCheck);
} else {
tempChecks.push(unusedAppsUnrestrictedCheck, ignoreBatteryOptCheck);

Check warning on line 413 in www/js/usePermissionStatus.ts

View check run for this annotation

Codecov / codecov/patch

www/js/usePermissionStatus.ts#L411-L413

Added lines #L411 - L413 were not covered by tests
}
setCheckList(tempChecks);
}

Expand Down
Loading