Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ded5a85a authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Fix bug #18104271 Tapping *name* of service in Voice input services...

Merge "Fix bug #18104271 Tapping *name* of service in Voice input services does not fill in radio button" into lmp-mr1-dev
parents 61fe962f c66a8788
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -110,7 +110,9 @@ public final class VoiceInputPreference extends Preference {
        textLayout.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onRadioButtonClicked(rb, !rb.isChecked());
                if (!rb.isChecked()) {
                    onRadioButtonClicked(rb, true);
                }
            }
        });

@@ -216,6 +218,7 @@ public final class VoiceInputPreference extends Preference {
        mSharedState.setCurrentKey(getKey());
        updateCheckedState(true);
        callChangeListener(mSharedState.getCurrentKey());
        current.setChecked(true);
    }

    /**