Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNPUTmice/Conversations.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Weiler <16721506+maweil@users.noreply.github.com>2021-07-27 22:27:09 +0300
committerDaniel Gultsch <daniel@gultsch.de>2021-08-24 10:15:30 +0300
commitef8f10cc1327c839b24d56d0db30ea25311b5e76 (patch)
treef864c1d6e39771ccbf6f549df7f5f4c4a0bdff98 /src/main/res/values
parentb6fe1898e7717af67bfc98fe6f05dc4a44820e28 (diff)
Optionally prevent taking screenshots
- Add setting to prevent screenshots - Enforce using FLAG_SECURE in onResume for each activity
Diffstat (limited to 'src/main/res/values')
-rw-r--r--src/main/res/values/defaults.xml1
-rw-r--r--src/main/res/values/strings.xml3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/main/res/values/defaults.xml b/src/main/res/values/defaults.xml
index a031a9149..60085d0f9 100644
--- a/src/main/res/values/defaults.xml
+++ b/src/main/res/values/defaults.xml
@@ -44,4 +44,5 @@
<bool name="start_searching">false</bool>
<string name="video_compression">360</string>
<string name="default_channel_discovery">JABBER_NETWORK</string>
+ <bool name="prevent_screenshots">false</bool>
</resources>
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 9f3ba84ac..5d8c32e54 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -130,6 +130,8 @@
<string name="pref_never_send_crash_summary">By sending in stack traces you are helping the development</string>
<string name="pref_confirm_messages">Confirm Messages</string>
<string name="pref_confirm_messages_summary">Let your contacts know when you have received and read their messages</string>
+ <string name="pref_prevent_screenshots">Prevent Screenshots</string>
+ <string name="pref_prevent_screenshots_summary">Prevent taking screenshots of this app and hide its content in the app switcher</string>
<string name="pref_ui_options">UI</string>
<string name="openpgp_error">OpenKeychain produced an error.</string>
<string name="bad_key_for_encryption">Bad key for encryption.</string>
@@ -966,4 +968,5 @@
<string name="backup_started_message">The backup has been started. You’ll get a notification once it has been completed.</string>
<string name="unable_to_enable_video">Unable to enable video.</string>
<string name="plain_text_document">Plain text document</string>
+
</resources>