Fix exclude clipboard history from Android backup and device transfer - #696
Merged
Conversation
android:allowBackup was set with no dataExtractionRules or fullBackupContent, so the Room database backing clipboard history was swept into Android Auto Backup and device-to-device transfer. Add backup_rules.xml (API 26-30) and data_extraction_rules.xml (API 31+, covering both cloud-backup and device-transfer) excluding scribe_clipboard_db and its -journal/-shm/-wal sidecars, and wire both into the manifest. Closes scribe-org#695 Signed-off-by: Owm <owmdubey163@gmail.com>
andrewtavis
approved these changes
Sep 8, 2026
andrewtavis
left a comment
Member
There was a problem hiding this comment.
praise: So great that this is being set and that we have an eye on security! Thanks so much for the amazing work, @Roniscend! 😊
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android:allowBackup was set with no dataExtractionRules or fullBackupContent, so the Room database backing clipboard history was swept into Android Auto Backup and device-to-device transfer. Add backup_rules.xml and data_extraction_rules.xml excluding scribe_clipboard_db and its -journal/-shm/-wal sidecars, and wire both into the manifest.
Closes #695
Contributor checklist
./gradlew lintKotlin detekt testcommand as directed in the testing section of the contributing guide