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

Commit 6309cca5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "ContentCapture: Log the text length for VIEW_APPEARED events." into sc-dev

parents 2ae2b96c 6f4ace91
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -428,10 +428,11 @@ public final class ContentCaptureEvent implements Parcelable {
        }
        if (mNode != null) {
            final String className = mNode.getClassName();
            if (mNode != null) {
            string.append(", class=").append(className);
            }
            string.append(", id=").append(mNode.getAutofillId());
            if (mNode.getText() != null) {
                string.append(", text=").append(getSanitizedString(mNode.getText()));
            }
        }
        if (mText != null) {
            string.append(", text=").append(getSanitizedString(mText));