Set the layoutPreference not selectable
In this way it won't yell out "Double-tap to activate" Change-Id: Ie5d97f91d32ab7db1f1cec308521e7327d1fbaa4 Fixes: 116666315 Test: Manual
This commit is contained in:
@@ -65,6 +65,7 @@ public class BlockPreferenceController extends NotificationPreferenceController
|
||||
|
||||
public void updateState(Preference preference) {
|
||||
LayoutPreference pref = (LayoutPreference) preference;
|
||||
pref.setSelectable(false);
|
||||
SwitchBar bar = pref.findViewById(R.id.switch_bar);
|
||||
if (bar != null) {
|
||||
bar.setSwitchBarText(R.string.notification_switch_label,
|
||||
|
Reference in New Issue
Block a user