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

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

Merge "Fixed NPE on MainContentCaptureSession.handleFlushIfNeeded"

parents 478561d5 3d570a49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -402,7 +402,7 @@ public final class MainContentCaptureSession extends ContentCaptureSession {
    }

    private void handleFlushIfNeeded(@FlushReason int reason) {
        if (mEvents.isEmpty()) {
        if (mEvents == null || mEvents.isEmpty()) {
            if (VERBOSE) Log.v(TAG, "Nothing to flush");
            return;
        }