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

Commit 17eccdca authored by Casey Burkhardt's avatar Casey Burkhardt
Browse files

Fix UiAutomator breakage by eliminating flagged lines in AccessibilityNodeInfo#toString().

Bug: b/377499386
Flag: EXEMPT bugfix
Test: Successful HSV snapshot and "uiautomator dump"
Change-Id: Ia27e1f2c3b210fd8ef965dee351143db9d363b0e
parent 2a76c44a
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -5573,20 +5573,13 @@ public class AccessibilityNodeInfo implements Parcelable {
        builder.append("; maxTextLength: ").append(mMaxTextLength);
        builder.append("; stateDescription: ").append(mStateDescription);
        builder.append("; contentDescription: ").append(mContentDescription);
        if (Flags.supplementalDescription()) {
            builder.append("; supplementalDescription: ").append(mSupplementalDescription);
        }
        builder.append("; tooltipText: ").append(mTooltipText);
        builder.append("; containerTitle: ").append(mContainerTitle);
        builder.append("; viewIdResName: ").append(mViewIdResourceName);
        builder.append("; uniqueId: ").append(mUniqueId);
        builder.append("; expandedState: ").append(getExpandedStateSymbolicName(mExpandedState));

        builder.append("; checkable: ").append(isCheckable());
        builder.append("; checked: ").append(isChecked());
        if (Flags.a11yIsRequiredApi()) {
            builder.append("; required: ").append(isFieldRequired());
        }
        builder.append("; focusable: ").append(isFocusable());
        builder.append("; focused: ").append(isFocused());
        builder.append("; selected: ").append(isSelected());