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

Commit b6519c0c authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Fix null check in invocation logging

Bug: 141746592
Test: manual
Change-Id: I5c941208b982354b9b7df7fa959fd1a4847c70bc
parent 2fb1f3b0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -152,7 +152,8 @@ public class DefaultUiController implements AssistManager.UiController {
                    .setSubtype(Dependency.get(AssistManager.class).toLoggingSubType(type)));
        }
        // Logs assistant invocation cancelled.
        if (!mInvocationAnimator.isRunning() && invocationWasInProgress && progress == 0f) {
        if ((mInvocationAnimator == null || !mInvocationAnimator.isRunning())
                && invocationWasInProgress && progress == 0f) {
            if (VERBOSE) {
                Log.v(TAG, "Invocation cancelled: type=" + type);
            }