We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 602a9b6 commit 8624748Copy full SHA for 8624748
lib/java/com/google/android/material/chip/Chip.java
@@ -1002,7 +1002,7 @@ protected void onPopulateNodeForVirtualView(
1002
protected void onPopulateNodeForHost(AccessibilityNodeInfoCompat node) {
1003
node.setCheckable(chipDrawable != null && chipDrawable.isCheckable());
1004
node.setClassName(Chip.class.getName());
1005
- CharSequence chipText = chipDrawable != null ? chipDrawable.getText() : "";
+ CharSequence chipText = getText();
1006
if (VERSION.SDK_INT >= VERSION_CODES.M) {
1007
node.setText(chipText);
1008
} else {
0 commit comments