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

Commit e4aa13b2 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

AccessibilityEvent#toString() always reports -1 for record count.

1. The implementation of toString() was calling a wrong method
   for the record count.

bug:5087078

Change-Id: I4ca79faa6ccce135eb6fe797de7b08e30f8b3e71
parent 7abaecc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -784,7 +784,7 @@ public final class AccessibilityEvent extends AccessibilityRecord implements Par
                builder.append("\n");
            }
        } else {
            builder.append("; recordCount: ").append(getAddedCount());
            builder.append("; recordCount: ").append(getRecordCount());
        }
        return builder.toString();
    }