From a0237fa975cb778d1c75abc38f1b40de60ffc035 Mon Sep 17 00:00:00 2001 From: justinzeus Date: Sat, 7 Nov 2026 14:45:48 +0100 Subject: [PATCH] Preserve household TV data across app maintenance --- app/src/main/AndroidManifest.xml | 1 + docker/README.md | 30 ++++++++++++++++++++++++------ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index aad5c5b5..20fc0df0 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -40,6 +40,7 @@ ` to keep app data, then reinstall the same +package with the same signer. + +The manifest sets `android:hasFragileUserData="true"` so Android 10+ can offer +a **keep app data** choice during interactive uninstall. Choose it when +available; older Android versions ignore the attribute. This is a retention +prompt, not an automatic backup or a guarantee against data clearing. + +For an in-place update, compare `dumpsys package ` before and after: +`firstInstallTime` must remain unchanged. The guarded installer that checks +the signer and this timestamp lives in the operator's tooling, not this repo. ## Release credentials