mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Add RemoteWipeSetupActivity to manifest and settings menu
This commit is contained in:
@@ -472,6 +472,15 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="org.briarproject.briar.android.remotewipe.RemoteWipeSetupActivity"
|
||||
android:label="@string/activity_name_remote_wipe"
|
||||
android:parentActivityName="org.briarproject.briar.android.settings.SettingsActivity">
|
||||
<meta-data
|
||||
android:name="android.support.PARENT_ACTIVITY"
|
||||
android:value="org.briarproject.briar.android.settings.SettingsActivity" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="org.briarproject.briar.android.logout.ExitActivity"
|
||||
android:theme="@android:style/Theme.NoDisplay" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user