summaryrefslogtreecommitdiff
path: root/java/com/android/newbubble/NewBubble.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/newbubble/NewBubble.java')
-rw-r--r--java/com/android/newbubble/NewBubble.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/newbubble/NewBubble.java b/java/com/android/newbubble/NewBubble.java
index 8b188ba33..2e98ad17b 100644
--- a/java/com/android/newbubble/NewBubble.java
+++ b/java/com/android/newbubble/NewBubble.java
@@ -722,7 +722,7 @@ public class NewBubble {
button.setCompoundDrawablesWithIntrinsicBounds(action.getIconDrawable(), null, null, null);
}
button.setChecked(action.isChecked());
- button.setEnabled(action.isEnabled());
+ button.setCheckable(action.isCheckable());
button.setText(action.getName());
button.setContentDescription(action.getName());
button.setOnClickListener(v -> doAction(action));