Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d224da0e authored by Ahaan Ugale's avatar Ahaan Ugale
Browse files

ContentCaptureEvent: Log composing and selection indices

Bug: 184311217
Test: manual
Change-Id: I808021473fe55bf2f0676c005bc0c077146a6785
parent 5c80e349
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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();
    }