• v0.1.2 246c738ee4

    v0.1.2 — audit fixes

    .leviathan released this 2026-04-29 01:22:20 +00:00 | 27 commits to main since this release

    Critical:

    • DetectionService.startInForeground now passes
      FOREGROUND_SERVICE_TYPE_LOCATION OR'd with TYPE_CONNECTED_DEVICE on
      Android 14+. Without this, the system silently revoked location access
      once the screen locked, breaking DeFlock + Waze for foreground-service
      use (the whole point of the foreground service).
    • DeflockClient and WazeClient now skip JSON entries whose lat/lon parse
      to NaN. Previously NaN flowed into Location.distanceBetween, the
      NaN > limit check returned false (IEEE 754), and we submitted a
      full-confidence detection labeled "@0m" — instant false-positive RED
      from a single malformed map entry.

    UX:

    • First-run permission flow auto-starts scanning after the user grants
      everything; no second tap on START required.
    • Settings shows a "Restart scan to apply" button when toggling sources
      while scanning. Source toggle changes used to silently no-op until
      the next manual stop+start.

    versionCode 1 → 3, versionName 0.1.0 → 0.1.2.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    Downloads