Add a settings import/export receiver

If you install a signed release build and want to switch to an unsigned
debug build, that involves an uninstall and reinstall, which by default
will lose your configuration. Modify scripts/pull_config.sh and
scripts/push_config.sh so it works on release builds, not just debug
builds, and update README.md to tell you to export your config before
doing this kind of upgrade.
This commit is contained in:
James Babcock committed 2026-08-30 12:25:06 -07:00
1 parent f4c43090f5
commit 3e8be93833
7 files changed
+271 -6

No files matched your search

@@ -131,5 +131,14 @@
android:name="com.faceclaw.app.FaceclawTimerReceiver"
android:enabled="true"
android:exported="false" />
<!-- adb-only settings export/import (see FaceclawSettingsPortReceiver).
DUMP is a development permission: the adb shell holds it, other
apps cannot get it granted without adb, so this stays reachable
from the command line but not from apps on the phone. -->
<receiver
android:name="com.faceclaw.app.FaceclawSettingsPortReceiver"
android:enabled="true"
android:exported="true"
android:permission="android.permission.DUMP" />
</application>
</manifest>