MeshNotificationManagerImpl
Manages the creation and display of all app notifications.
This class centralizes notification logic, including channel creation, builder configuration, and displaying notifications for various events like new messages, alerts, and service status changes.
Constructors
Functions
Returns the last-built service state notification, or an immediately available application-label fallback. This method is used by MeshService for android.app.Service.startForeground, so it must not wait for Compose Multiplatform resource loading.
Guarantees the foreground-service channel synchronously, because the orchestrator posts the service notification right after this returns, then creates the rest off the calling thread. Every post awaits ensureChannels.
Re-posts the conversation silently after an inline reply, so the notification updates in place with the sent reply appended (the read context becomes historic, the reply is the visible latest message) instead of disappearing. Re-posting under the same (tag, id) is also what resolves the RemoteInput spinner.