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

Commit af0a5f17 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14245840

Change-Id: Ia5320298e618f1270130bc93482257bdeaaa63e4
parents d7522ae0 6309cca5
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));