fix(auto): apply Android Auto best-practices audit fixes

Agent-Logs-Url: https://github.com/meshtastic/Meshtastic-Android/sessions/8d768315-9c58-4b16-8912-d0b4f97c3681

Co-authored-by: jamesarich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-17 18:29:52 +00:00 committed by GitHub
parent d70c3b66dc
commit 67e300da96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 238 additions and 107 deletions

View file

@ -920,7 +920,10 @@ class MeshServiceNotificationsImpl(
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE,
)
return NotificationCompat.Action.Builder(android.R.drawable.ic_menu_add, label, pendingIntent).build()
return NotificationCompat.Action.Builder(android.R.drawable.ic_menu_add, label, pendingIntent)
.setSemanticAction(NotificationCompat.Action.SEMANTIC_ACTION_NONE)
.setShowsUserInterface(false)
.build()
}
private fun commonBuilder(