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

Commit 23e35c30 authored by Yuyang Huang's avatar Yuyang Huang Committed by Automerger Merge Worker
Browse files

Merge "avoid NullPointerException" into main am: 0c33bd4c

parents e03d32c5 0c33bd4c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -293,7 +293,8 @@ public class BluetoothInCallService extends InCallService {
        }

        public void onParentChanged(BluetoothCall call) {
            if (call.isExternalCall()) {
            if (mCallInfo.isNullCall(call) || call.isExternalCall()) {
                Log.w(TAG, "null call or external call");
                return;
            }
            if (call.getParentId() != null) {
@@ -314,7 +315,8 @@ public class BluetoothInCallService extends InCallService {
        }

        public void onChildrenChanged(BluetoothCall call, List<BluetoothCall> children) {
            if (call.isExternalCall()) {
            if (mCallInfo.isNullCall(call) || call.isExternalCall()) {
                Log.w(TAG, "null call or external call");
                return;
            }
            if (call.getChildrenIds().size() == 1) {