Skip to content

Conversation

@domedav
Copy link

@domedav domedav commented Jan 12, 2026

Fixed a critical ANR / Crash cycle occurring on Android 15 when the app is running within a Work Profile.

The crash was caused by a SQLiteConstraintException in the ProxyApplicationMapping table. During profile refreshes or package updates, Android 15 sometimes reassigns UIDs in a way that creates collisions with existing database entries. The previous tombstoneApp implementation performed a blind update, which triggered a unique constraint violation and corrupted the database state.

… 15)

Fixed a critical ANR / Crash cycle occurring on Android 15 when the app is running within a Work Profile.

The crash was caused by a SQLiteConstraintException in the ProxyApplicationMapping table.
During profile refreshes or package updates, Android 15 sometimes reassigns UIDs in a way that creates collisions with existing database entries.
The previous tombstoneApp implementation performed a blind update, which triggered a unique constraint violation and corrupted the database state.
@domedav domedav changed the title fix: resolve SQLite unique constraint crash in Work Profiles (Android… fix: resolve SQLite unique constraint crash in Work Profiles Jan 12, 2026
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