Merge "ContentCaptureEvent: Log composing and selection indices" into sc-dev am: 8f74aa34ee am: 27b4e2ffcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14960922 Change-Id: Ie054a555d169671d9925f31d4b21064e3c463f64
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user