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: I68a7abf9d4da0dbfb1d1276814f65e7971fe6586
This commit is contained in:
TreeHugger Robot
2021-06-16 09:10:09 +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();
}