Commit 2fbfc845 authored by Matthew Finkel's avatar Matthew Finkel Committed by Matthew Finkel
Browse files

Bug 25741 - TBA: Disable the microphone by default

Deactivating this is an accessibility concern because this is used for
voice dictation, so users should have the option of re-enabling this.

This uses the Android Speech API.
parent 9ee4a0ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
    <SwitchPreference android:key="android.not_a_preference.voice_input_enabled"
                      android:title="@string/pref_voice_input"
                      android:summary="@string/pref_voice_input_summary"
                      android:defaultValue="true"/>
                      android:defaultValue="false"/>

    <SwitchPreference android:key="android.not_a_preference.qrcode_enabled"
                      android:title="@string/pref_qrcode_enabled"
+1 −1
Original line number Diff line number Diff line
@@ -287,7 +287,7 @@ public class ToolbarEditLayout extends ThemedLinearLayout {
            return false;
        }
        return GeckoSharedPrefs.forApp(context)
                .getBoolean(GeckoPreferences.PREFS_VOICE_INPUT_ENABLED, true);
                .getBoolean(GeckoPreferences.PREFS_VOICE_INPUT_ENABLED, false);
    }

    void launchVoiceRecognizer() {