preferences: Control restoring enabled configs

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Samuel Holland 2017-08-16 04:37:11 -05:00
parent b753ae09ca
commit 5023c937ad
2 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,8 @@
<string name="primary_config_summary">This configuration will be controlled by the quick settings tile</string>
<string name="private_key">Private key</string>
<string name="public_key">Public key</string>
<string name="restore_on_boot">Restore on boot</string>
<string name="restore_on_boot_summary">Restore previously enabled configurations on boot</string>
<string name="save">Save</string>
<string name="settings">Settings</string>
<string name="status">Status</string>

View File

@ -4,4 +4,9 @@
android:key="primary_config"
android:summary="@string/primary_config_summary"
android:title="@string/primary_config" />
<CheckBoxPreference
android:defaultValue="false"
android:key="restore_on_boot"
android:summary="@string/restore_on_boot_summary"
android:title="@string/restore_on_boot" />
</PreferenceScreen>