From 72e27e32ccf5032edc7340a622fe7c063f967471 Mon Sep 17 00:00:00 2001 From: James Rich Date: Fri, 17 Apr 2026 09:02:20 -0500 Subject: [PATCH] chore(auto): log ReplyReceiver entry and completion Temporary diagnostic logging added while investigating why Android Auto inline replies don't appear to dismiss the conversation notification for some users. Remove or downgrade to verbose once confirmed working. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../kotlin/org/meshtastic/core/service/ReplyReceiver.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/service/src/androidMain/kotlin/org/meshtastic/core/service/ReplyReceiver.kt b/core/service/src/androidMain/kotlin/org/meshtastic/core/service/ReplyReceiver.kt index 13fd92758..f265a10fd 100644 --- a/core/service/src/androidMain/kotlin/org/meshtastic/core/service/ReplyReceiver.kt +++ b/core/service/src/androidMain/kotlin/org/meshtastic/core/service/ReplyReceiver.kt @@ -20,6 +20,7 @@ import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import androidx.core.app.RemoteInput +import co.touchlab.kermit.Logger import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.SupervisorJob import kotlinx.coroutines.launch @@ -64,6 +65,7 @@ class ReplyReceiver : if (remoteInput != null) { val contactKey = intent.getStringExtra(CONTACT_KEY) ?: "" val message = remoteInput.getCharSequence(KEY_TEXT_REPLY)?.toString() ?: "" + Logger.d { "ReplyReceiver: onReceive contactKey='$contactKey' msgLen=${message.length}" } val pendingResult = goAsync() scope.launch { @@ -71,6 +73,7 @@ class ReplyReceiver : sendMessage(message, contactKey) packetRepository.clearUnreadCount(contactKey, nowMillis) meshServiceNotifications.cancelMessageNotification(contactKey) + Logger.d { "ReplyReceiver: reply flow complete for contactKey='$contactKey'" } } finally { pendingResult.finish() }