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

Commit 9a12fd86 authored by menghanli's avatar menghanli Committed by Menghan Li
Browse files

Fix overlapped Voice Access labeled item in shortcut component.

The label of shortcut preference and checkbook are overlapped, but only
the checkbox can be triggered.

Action: set parent layout to be non-selectable.

Bug: 149627994
Test: Manual test
Change-Id: Ic0b58159111c27ef94b10c6935178c3b80995d11
parent acc2fe08
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -165,6 +165,9 @@ public class ShortcutPreference extends Preference {
        setWidgetLayoutResource(R.layout.preference_widget_settings);
        setIconSpaceReserved(false);
        mAutoEnabledSettings = true;

        // Disable whole component to let each child component can be addressed.
        setSelectable(false);
    }

    private void callOnSettingsClicked() {