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.
Kotlin airtagalprandroidandroid-autoanti-surveillancebluetooth-low-energybody-cameracounter-surveillancedrone-detectionflock-safetyimsi-catcher-detectorpolice-detectorpolice-scannerprivacyremote-idrtl-sdrsdrsurveillance-detectiontracker-detectionwifi
Main list: one-time tip about tap and long-press
CIS-C0acfe834a1ae3
diff --git a/app/src/main/java/com/rfsentinel/app/MainActivity.kt b/app/src/main/java/com/rfsentinel/app/MainActivity.ktindex 6a61845..656ef40 100644--- a/app/src/main/java/com/rfsentinel/app/MainActivity.kt+++ b/app/src/main/java/com/rfsentinel/app/MainActivity.kt@@ -850,6 +850,13 @@ class MainActivity : AppCompatActivity() {}binding.emptyState.visibility = if (visible.isEmpty() && (!panes.listShown || shownCells == 0) &&(!panes.radarShown || radioBlips == 0)) View.VISIBLE else View.GONE+ // Once, with the first device listed: nothing else on screen shows that long-press exists.+ if (visible.isNotEmpty() && panes.listShown && !Prefs.listTipShown(this)) {+ Prefs.setListTipShown(this, true)+ com.google.android.material.snackbar.Snackbar.make(binding.root,+ "Tap a device for details. Long-press it for watchlist, whitelist and favorite.", 8000)+ .setAction("OK") {}.show()+ }// A filter that hides everything heard: one tap back to the full list.binding.showAllButton.visibility =if (filter != com.rfsentinel.app.ui.DeviceFilter.ALL && all.isNotEmpty()) View.VISIBLE else View.GONEdiff --git a/app/src/main/java/com/rfsentinel/app/util/Prefs.kt b/app/src/main/java/com/rfsentinel/app/util/Prefs.ktindex c99d988..7f08422 100644--- a/app/src/main/java/com/rfsentinel/app/util/Prefs.kt+++ b/app/src/main/java/com/rfsentinel/app/util/Prefs.kt@@ -370,6 +370,8 @@ object Prefs {fun updatePrereleases(context: Context): Boolean = bool(context, "update_prereleases", false)fun setUpdatePrereleases(context: Context, value: Boolean) = setBool(context, "update_prereleases", value)/** Whether you were asked (once) if the app may check for updates; until then it never checks on its own. */+ fun listTipShown(context: Context): Boolean = bool(context, "list_tip_shown", false)+ fun setListTipShown(context: Context, value: Boolean) = setBool(context, "list_tip_shown", value)fun updateCheckAsked(context: Context): Boolean = bool(context, "update_check_asked", false)fun setUpdateCheckAsked(context: Context, value: Boolean) = setBool(context, "update_check_asked", value)fun lastUpdateCheck(context: Context): Long = sp(context).getLong("last_update_check", 0L)