ContentCaptureEvent: Log composing and selection indices
Bug: 184311217 Test: manual Change-Id: I808021473fe55bf2f0676c005bc0c077146a6785
This commit is contained in:
@@ -522,10 +522,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