Offer option to uninstall Briar in a panic event

Due to the nature of how Android app install/uninstall works without
root, this requires manual confirmation after a panic was triggered.

Closes #211
This commit is contained in:
Torsten Grote
2016-01-15 13:46:47 -02:00
parent 05b7c8aab4
commit 8b817be076
4 changed files with 64 additions and 21 deletions

View File

@@ -122,6 +122,8 @@
<string name="lock_setting_summary">Sign out of Briar if a panic button is pressed</string>
<string name="purge_setting_title">Delete Account</string>
<string name="purge_setting_summary">Delete your Briar account if a panic button is pressed. Caution: This will permanently delete your identities, contacts and messages</string>
<string name="uninstall_setting_title">Uninstall Briar</string>
<string name="uninstall_setting_summary">This requires manual confirmation in a panic event</string>
<string name="step">Step %1$d/%2$d</string>
<string name="online">Online</string>
<string name="offline">Offline</string>

View File

@@ -24,6 +24,13 @@
android:enabled="false"
android:defaultValue="false"/>
<CheckBoxPreference
android:key="pref_key_uninstall"
android:title="@string/uninstall_setting_title"
android:summary="@string/uninstall_setting_summary"
android:enabled="false"
android:defaultValue="false"/>
</PreferenceCategory>
</PreferenceScreen>