Merge "ContentCaptureEvent: Log composing and selection indices" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8f74aa34ee
@@ -525,10 +525,13 @@ public final class ContentCaptureEvent implements Parcelable {
|
|||||||
string.append(", insets=").append(mInsets);
|
string.append(", insets=").append(mInsets);
|
||||||
}
|
}
|
||||||
if (mComposingStart > MAX_INVALID_VALUE) {
|
if (mComposingStart > MAX_INVALID_VALUE) {
|
||||||
string.append(", hasComposing");
|
string.append(", composing=[")
|
||||||
|
.append(mComposingStart).append(",").append(mComposingEnd).append("]");
|
||||||
}
|
}
|
||||||
if (mSelectionStartIndex > MAX_INVALID_VALUE) {
|
if (mSelectionStartIndex > MAX_INVALID_VALUE) {
|
||||||
string.append(", hasSelection");
|
string.append(", selection=[")
|
||||||
|
.append(mSelectionStartIndex).append(",")
|
||||||
|
.append(mSelectionEndIndex).append("]");
|
||||||
}
|
}
|
||||||
return string.append(']').toString();
|
return string.append(']').toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user