Skip to content

android: handle keystore failures when loading pending InlineShareInb… - #899

Open
kari-ts wants to merge 1 commit into
mainfrom
kari/catchprefs
Open

kari-ts wants to merge 1 commit into
mainfrom
kari/catchprefs

Conversation

@kari-ts

@kari-ts kari-ts commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

…oxStore

android keystore can become temporarily unavailable, causing encrypted pref reads to fail and crash the app during Notifier initialization. This moves inline share inbox loading and persistence off the initialization path and onto an io coroutine. We serialize persistence operations to avoid concurrent writes, and preserve pending changes when encrypted storage is unavailable rather than treating a failed read as an empty inbox.

Updates tailscale/tailscale#21803

@kari-ts
kari-ts requested a review from willh-ts October 21, 2026 18:13
…oxStore

android keystore can become temporarily unavailable, causing encrypted pref reads to fail and crash the app during Notifier initialization. This moves inline share inbox loading and persistence off the initialization path and onto an io coroutine. We serialize persistence operations to avoid concurrent writes, and preserve pending changes when encrypted storage is unavailable rather than treating a failed read as an empty inbox.

Updates tailscale/tailscale#21803

Signed-off-by: kari-ts <kari@tailscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant