Merge "ContentCaptureEvent: Log composing and selection indices" into sc-dev am: 8f74aa34ee

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14960922

Change-Id: Ia2b4d9bbac4e41b8f78ba0895b95e4fb5b4dc514
This commit is contained in:
TreeHugger Robot
2021-06-16 09:09:13 +00:00
committed by Automerger Merge Worker

View File

@@ -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();
}