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

Commit 2617c9ca authored by Tyler Gunn's avatar Tyler Gunn Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in InCallController due to potential null call." into oc-dev

parents a25119ea c467837e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -212,7 +212,8 @@ public final class InCallController extends CallsManagerListenerBase {
                return CONNECTION_SUCCEEDED;
            }

            if (call.isSelfManaged() && !mInCallServiceInfo.isSelfManagedCallsSupported()) {
            if (call != null && call.isSelfManaged() &&
                    !mInCallServiceInfo.isSelfManagedCallsSupported()) {
                Log.i(this, "Skipping binding to %s - doesn't support self-mgd calls",
                        mInCallServiceInfo);
                mIsConnected = false;