diff --git a/core/java/android/view/contentcapture/ContentCaptureEvent.java b/core/java/android/view/contentcapture/ContentCaptureEvent.java index afc907b3f77a1..10ae69118f542 100644 --- a/core/java/android/view/contentcapture/ContentCaptureEvent.java +++ b/core/java/android/view/contentcapture/ContentCaptureEvent.java @@ -525,10 +525,13 @@ public final class ContentCaptureEvent implements Parcelable { string.append(", insets=").append(mInsets); } if (mComposingStart > MAX_INVALID_VALUE) { - string.append(", hasComposing"); + string.append(", composing=[") + .append(mComposingStart).append(",").append(mComposingEnd).append("]"); } if (mSelectionStartIndex > MAX_INVALID_VALUE) { - string.append(", hasSelection"); + string.append(", selection=[") + .append(mSelectionStartIndex).append(",") + .append(mSelectionEndIndex).append("]"); } return string.append(']').toString(); }