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
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user