Add background polling service, push notifications, and CPDLC MIN tracking

- AcarsPollingService: foreground service that survives backgrounding, polls
  at 45-75s jitter, shows persistent status notification with Stop action
- NotificationHelper: two-channel setup (high-importance for messages,
  low-importance for service status); fires per-message alerts on new ACARS
- MainActivity: requests POST_NOTIFICATIONS permission at runtime (API 33+)
- AcarsViewModel: delegates polling start/stop to the service; tracks
  incoming CPDLC ATC MIN and outgoing MIN counter for template auto-fill
- ComposeScreen: CPDLC templates auto-fill OUR_MIN and REFMIN from live state
- SharedComponents: trim message body to everything after last /
- MessagesScreen: fixed START/STOP button width stability (defaultMinSize)
- local.properties: corrected sdk.dir username path

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
JustinandClaude Sonnet 4.6 committed 2026-04-15 15:02:06 -05:00
1 parent 13a51517c1
commit 0f1705255f
11 files changed
+313 -63

No files matched your search

+1 -1
View File
@@ -5,4 +5,4 @@
# For customization when using a Version Control System, please read the
# header note.
#Wed Apr 15 08:33:21 CDT 2026
sdk.dir=C\:\\Users\\Justin\\AppData\\Local\\Android\\Sdk
sdk.dir=C\:\\Users\\justi\\AppData\\Local\\Android\\Sdk