From 6213adcee9e5a00a55c75341f30052aaad3d7fa6 Mon Sep 17 00:00:00 2001 From: Fahim Date: Mon, 6 Sep 2021 23:12:58 +0600 Subject: [PATCH] 3736-Q-Set_voice_input_key_preference_default_false issue: https://gitlab.e.foundation/e/backlog/-/issues/3736 --- java/res/xml/prefs_screen_preferences.xml | 2 +- .../com/android/inputmethod/latin/settings/SettingsValues.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/res/xml/prefs_screen_preferences.xml b/java/res/xml/prefs_screen_preferences.xml index 101edc8557..540f9f6a6a 100644 --- a/java/res/xml/prefs_screen_preferences.xml +++ b/java/res/xml/prefs_screen_preferences.xml @@ -48,6 +48,6 @@ diff --git a/java/src/com/android/inputmethod/latin/settings/SettingsValues.java b/java/src/com/android/inputmethod/latin/settings/SettingsValues.java index 7a276a6a4d..74884645e2 100644 --- a/java/src/com/android/inputmethod/latin/settings/SettingsValues.java +++ b/java/src/com/android/inputmethod/latin/settings/SettingsValues.java @@ -366,7 +366,7 @@ public class SettingsValues { .remove(Settings.PREF_VOICE_MODE_OBSOLETE) .apply(); } - return prefs.getBoolean(Settings.PREF_VOICE_INPUT_KEY, true); + return prefs.getBoolean(Settings.PREF_VOICE_INPUT_KEY, false); } public String dump() { -- GitLab