remove background reset as it should be handled by BackgroundPowerSaver or explicitly by the user
@@ -469,10 +469,6 @@ public class BeaconManager {
// If this is the last consumer to disconnect, the service will exit
// release the serviceMessenger.
serviceMessenger = null;
- // Reset the mBackgroundMode to false, which is the default value
- // This way when we restart ranging or monitoring it will always be in
- // foreground mode
- mBackgroundMode = false;
// If we are using scan jobs, we cancel the active scan job
if (mScheduledScanJobsEnabled) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
