Set ActionBar title to "Privacy"

Fixes #3406
Closes #3410

// FREEBIE
This commit is contained in:
agrajaghh 2015-06-12 11:16:54 +02:00 committed by Moxie Marlinspike
parent bb5fe39d3d
commit 687beda478
2 changed files with 2 additions and 3 deletions

View File

@ -794,7 +794,7 @@
<string name="preferences__slow">Slow</string> <string name="preferences__slow">Slow</string>
<string name="preferences__custom">Custom</string> <string name="preferences__custom">Custom</string>
<string name="preferences__advanced">Advanced</string> <string name="preferences__advanced">Advanced</string>
<string name="preferences__app_protection">App protection</string> <string name="preferences__privacy">Privacy</string>
<string name="preferences__mms_user_agent">MMS User Agent</string> <string name="preferences__mms_user_agent">MMS User Agent</string>
<string name="preferences__advanced_mms_access_point_names">Manual MMS settings</string> <string name="preferences__advanced_mms_access_point_names">Manual MMS settings</string>
<string name="preferences__enable_manual_mms">Use manual MMS settings</string> <string name="preferences__enable_manual_mms">Use manual MMS settings</string>
@ -826,7 +826,6 @@
<string name="preferences__submit_debug_log">Submit debug log</string> <string name="preferences__submit_debug_log">Submit debug log</string>
<string name="preferences__support_wifi_calling">\'WiFi Calling\' compatibility mode</string> <string name="preferences__support_wifi_calling">\'WiFi Calling\' compatibility mode</string>
<string name="preferences__enable_if_your_device_supports_sms_mms_delivery_over_wifi">Enable if your device uses SMS/MMS delivery over WiFi (only enable when \'WiFi Calling\' is enabled on your device)</string> <string name="preferences__enable_if_your_device_supports_sms_mms_delivery_over_wifi">Enable if your device uses SMS/MMS delivery over WiFi (only enable when \'WiFi Calling\' is enabled on your device)</string>
<string name="preferences__privacy">Privacy</string>
<string name="preferences_app_protection__blocked_contacts">Blocked contacts</string> <string name="preferences_app_protection__blocked_contacts">Blocked contacts</string>
<!-- **************************************** --> <!-- **************************************** -->

View File

@ -55,7 +55,7 @@ public class AppProtectionPreferenceFragment extends PreferenceFragment {
@Override @Override
public void onResume() { public void onResume() {
super.onResume(); super.onResume();
((ApplicationPreferencesActivity) getActivity()).getSupportActionBar().setTitle(R.string.preferences__app_protection); ((ApplicationPreferencesActivity) getActivity()).getSupportActionBar().setTitle(R.string.preferences__privacy);
initializePlatformSpecificOptions(); initializePlatformSpecificOptions();
initializeTimeoutSummary(); initializeTimeoutSummary();