Skip to content

RF Sentinel (RFSentinel): free, open-source police detector app for Android. Spots police body cams, Flock ALPR cameras, AirTag trackers, Remote ID drones, smart glasses and fake cell towers from Bluetooth LE and WiFi. No root.

2.37.0: the pager alert hook is cleared when the scan stops

CIS-C0d6828b84a0bc
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index be3f6a0..6fcec93 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -7,8 +7,8 @@ plugins {
}
// Bump both for every release. versionName ends up in the APK file name.
-val appVersionCode = 69
-val appVersionName = "2.36.0"
+val appVersionCode = 70
+val appVersionName = "2.37.0"
// Release signing credentials live in keystore.properties (git-ignored).
// Without that file, release builds are produced unsigned.
diff --git a/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt b/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt
index d97fe74..1793854 100644
--- a/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt
+++ b/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt
@@ -1987,6 +1987,7 @@ class ScanForegroundService : Service() {
com.rfsentinel.app.sdr.SdrRadio.stop(this)
// Its hooks point into this service: cleared, so a stopped scan isn't kept in memory by them.
com.rfsentinel.app.sdr.SdrRadio.onAircraft = null
+ com.rfsentinel.app.sdr.SdrRadio.onPagerPage = null
com.rfsentinel.app.sdr.SdrRadio.location = null
if (gnssWatching) { GnssWatch.stop(this, gnssListener); gnssWatching = false }
if (onlineWatchLazy.isInitialized()) onlineWatch.stop() // not built just to be stopped