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

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

Merge "Adding verbose check on handleSendEvent logs to avoid spamming logcat" into sc-dev

parents a82ece06 5a32c886
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -323,9 +323,11 @@ public final class MainContentCaptureSession extends ContentCaptureSession {
        if (!hasStarted() && eventType != ContentCaptureEvent.TYPE_SESSION_STARTED
                && eventType != ContentCaptureEvent.TYPE_CONTEXT_UPDATED) {
            // TODO(b/120494182): comment when this could happen (dialogs?)
            if (sVerbose) {
                Log.v(TAG, "handleSendEvent(" + getDebugState() + ", "
                        + ContentCaptureEvent.getTypeAsString(eventType)
                        + "): dropping because session not started yet");
            }
            return;
        }
        if (mDisabled.get()) {