Skip to content

Commit 2aa42a4

Browse files
committed
Revert scan settings to library defaults
1 parent 74d0559 commit 2aa42a4

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

.idea/deploymentTargetDropDown.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/org/altbeacon/beaconreference/BeaconReferenceApplication.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class BeaconReferenceApplication: Application() {
3838
// for that beacon's advertisement with a line like below.
3939
//
4040
// If you don't care about AltBeacon, you can clear it from the defaults:
41-
beaconManager.getBeaconParsers().clear()
41+
//beaconManager.getBeaconParsers().clear()
4242

4343
// Uncomment if you want to block the library from updating its distance model database
4444
//BeaconManager.setDistanceModelUpdateUrl("")
@@ -85,9 +85,9 @@ class BeaconReferenceApplication: Application() {
8585
Log.d(TAG, "Not setting up foreground service scanning until location permission granted by user")
8686
return
8787
}
88-
beaconManager.setEnableScheduledScanJobs(false);
89-
beaconManager.setBackgroundBetweenScanPeriod(0);
90-
beaconManager.setBackgroundScanPeriod(1100);
88+
//beaconManager.setEnableScheduledScanJobs(false);
89+
//beaconManager.setBackgroundBetweenScanPeriod(0);
90+
//beaconManager.setBackgroundScanPeriod(1100);
9191

9292
// Ranging callbacks will drop out if no beacons are detected
9393
// Monitoring callbacks will be delayed by up to 25 minutes on region exit

0 commit comments

Comments
 (0)