aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorIgnacio Quezada <ignacio.quezada@tutus.se>2016-11-08 11:45:20 +0100
committerIgnacio Quezada <ignacio.quezada@tutus.se>2016-11-08 11:45:20 +0100
commit297c0a792f79ee7f10a99a6712a8d6d63d4ed008 (patch)
tree1d7f085c15d4acb32d904cba9f8d717e0ca68058 /src/main/res
parent6371d2b7a9a2b5d7c14c998f63d7e2de6a1467d9 (diff)
Private files using a boolean flag from Config.java.
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/values/strings.xml4
-rw-r--r--src/main/res/xml/file_paths.xml3
-rw-r--r--src/main/res/xml/preferences.xml11
3 files changed, 17 insertions, 1 deletions
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 170cbfff..580b56c4 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -693,4 +693,8 @@
<string name="pref_delete_omemo_identities_summary">Regenerate your OMEMO keys. All your contacts will have to verify you again. Use this only as a last resort.</string>
<string name="delete_selected_keys">Delete selected keys</string>
<string name="error_publish_avatar_offline">You need to be connected to publish your avatar.</string>
+ <string name="pref_clean_cache_summary">Clean cache folder (used by Camera Application)</string>
+ <string name="pref_clean_cache">Clean cache</string>
+ <string name="pref_clean_private_storage">Clean private storage</string>
+ <string name="pref_clean_private_storage_summary">Clean private storage where files are kept (They can be re-downloaded from the server)</string>
</resources>
diff --git a/src/main/res/xml/file_paths.xml b/src/main/res/xml/file_paths.xml
index 2a8bc766..6a5e2609 100644
--- a/src/main/res/xml/file_paths.xml
+++ b/src/main/res/xml/file_paths.xml
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path name="external" path="/"/>
+ <files-path path="Pictures/" name="pics" />
+ <files-path path="Files/" name="files" />
+ <cache-path path="Camera/" name="cam" />
</paths> \ No newline at end of file
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml
index cee43491..569876f4 100644
--- a/src/main/res/xml/preferences.xml
+++ b/src/main/res/xml/preferences.xml
@@ -163,7 +163,8 @@
android:key="expert"
android:summary="@string/pref_expert_options_summary"
android:title="@string/pref_expert_options">
- <PreferenceCategory android:title="@string/pref_security_settings">
+ <PreferenceCategory android:title="@string/pref_security_settings"
+ android:key="security_options">
<CheckBoxPreference
android:defaultValue="false"
android:key="dont_save_encrypted"
@@ -184,6 +185,14 @@
android:title="@string/pref_allow_message_correction"
android:summary="@string/pref_allow_message_correction_summary"/>
<Preference
+ android:key="clean_cache"
+ android:summary="@string/pref_clean_cache_summary"
+ android:title="@string/pref_clean_cache"/>
+ <Preference
+ android:key="clean_private_storage"
+ android:summary="@string/pref_clean_private_storage_summary"
+ android:title="@string/pref_clean_private_storage"/>
+ <Preference
android:key="delete_omemo_identities"
android:title="@string/pref_delete_omemo_identities"
android:summary="@string/pref_delete_omemo_identities_summary"/>