aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-04-25 20:34:33 +0530
committerGitHub <noreply@github.com>2020-04-25 20:34:33 +0530
commit8cada17bcbcc5443062153542241dbe0d2a836ee (patch)
treee32810f2283f86da8ce85bb956a9339f07e5fb25 /app/src/main/res
parentf89d5c282faf34234440a89d1765ac43baa54be9 (diff)
Add toggle for debug logging (#745)
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/preference.xml5
2 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 650762eb..79fda215 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -367,4 +367,6 @@
<string name="autofill_onboarding_dialog_title">New, revamped Autofill!</string>
<string name="autofill_onboarding_dialog_message">In this release, Autofill support has been massively improved with advanced features like anti-phishing protection and enhanced reliability. If you have been holding out on using it because of the shortcomings on the previous version, you\'ll likely love the new iteration. Give it a shot!</string>
<string name="snackbar_action_grant">Grant</string>
+ <string name="pref_debug_logging_summary">Enable debug logging (requires app restart)</string>
+ <string name="pref_debug_logging_title">Debug logging</string>
</resources>
diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml
index fe488a35..656e47f6 100644
--- a/app/src/main/res/xml/preference.xml
+++ b/app/src/main/res/xml/preference.xml
@@ -172,6 +172,11 @@
app:key="clear_clipboard_20x"
app:summary="@string/pref_clear_clipboard_hint"
app:title="@string/pref_clear_clipboard_title" />
+ <CheckBoxPreference
+ app:defaultValue="false"
+ app:key="enable_debug_logging"
+ app:summary="@string/pref_debug_logging_summary"
+ app:title="@string/pref_debug_logging_title" />
</PreferenceCategory>
<PreferenceCategory>