Add RemoteWipeSetupActivity to manifest and settings menu

This commit is contained in:
ameba23
2021-05-14 12:49:37 +02:00
parent f2f70fa110
commit f0d42e0d4f
3 changed files with 25 additions and 0 deletions

View File

@@ -732,11 +732,16 @@
<!-- Remote Wipe -->
<!-- settings menu -->
<string name="pref_remote_wipe_summary">Allow trusted contacts to activate an account wipe remotely</string>
<string name="pref_remote_wipe_title">Remote Wipe</string>
<!-- titles for the app bar -->
<string name="title_select_wipers">Select Trusted Contacts</string>
<!-- conversation -->
<string name="remote_wipe_setup_received">You have been added a remote wiper.</string>
<string name="remote_wipe_setup_sent">You have added this contact as a remote wiper.</string>
<string name="activity_name_remote_wipe">Remote Wipe</string>
</resources>

View File

@@ -101,6 +101,17 @@
</Preference>
<Preference
android:summary="@string/pref_remote_wipe_summary"
android:title="@string/pref_remote_wipe_title"
app:iconSpaceReserved="false">
<intent
android:targetClass="org.briarproject.briar.android.remotewipe.RemoteWipeSetupActivity"
android:targetPackage="@string/app_package" />
</Preference>
<SwitchPreference
android:enabled="false"
android:key="pref_key_lock"