mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The policy says Learn from my fixes and Adaptive touch keep their data "on this phone only", and the feedback install ID's comment says it is "not backed up (allowBackup is off)". That was true of cloud backup but not of a device-to-device transfer. Android 12 and later ignore allowBackup="false" for D2D when an app targets 31 or later (AOSP BackupEligibilityRules, IGNORE_ALLOW_BACKUP_IN_D2D). Hex targets 36, so a cable or Wi-Fi transfer to a new phone carried shared_prefs: speech.xml (settings, vocabulary, learned word pairs), adaptiveTouch.xml, typing.xml, feedback, setup, and files/. The manifest now names res/xml/data_extraction_rules.xml. It excludes every domain, credential- and device-encrypted, from both cloud-backup and device-transfer, so a file added later is left out too. allowBackup stays false. No fullBackupContent: minSdk is 31, and those rules only apply to Android 11 and lower. Cross-platform transfer (Android 16 QPR2) is opt-in, and Hex declares none. Changed behaviour: a transfer to a new phone no longer brings Hex's settings, vocabulary, setup progress or learned data. Hex starts fresh, as it already did after a cloud restore. The speech model was never carried (it lives in noBackupFilesDir). Verified: - On anomastudio: assembleDebug and AdaptiveTouchTest (12 tests, including the new manifest/rules check). - lintDebug reports nothing about backup. Its one error is the existing VoiceSubtype NewApi on dev. - On emulator-5870 (API 35, Google's D2D transport in test mode): dev reads speech.xml, adaptiveTouch.xml, typing.xml and files/. With this change nothing is read. Cloud backup is refused before and after. |
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||