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

Commit 89b9c7f4 authored by Chen Chen's avatar Chen Chen Committed by Automerger Merge Worker
Browse files

Merge "Improve logging of BluetoothInCallService" am: ae956274

parents 47914edf ae956274
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -871,22 +871,22 @@ public class BluetoothInCallService extends InCallService {
        BluetoothCall activeCall = mCallInfo.getActiveCall();
        BluetoothCall ringingCall = mCallInfo.getRingingOrSimulatedRingingCall();
        if (ringingCall == null) {
            Log.i(TAG, "asdf ringingCall null");
            Log.i(TAG, "ringingCall null at processChld");
        } else {
            Log.i(TAG, "asdf ringingCall not null " + ringingCall.hashCode());
            Log.i(TAG, "ringingCall hashcode: " + ringingCall.hashCode());
        }

        BluetoothCall heldCall = mCallInfo.getHeldCall();

        Log.i(TAG, "Active: " + activeCall
                + " Ringing: " + ringingCall
                + " Held: " + heldCall);
        Log.i(TAG, "asdf chld " + chld);
                + " Held: " + heldCall
                + " chld: " + chld);

        if (chld == CHLD_TYPE_RELEASEHELD) {
            Log.i(TAG, "asdf CHLD_TYPE_RELEASEHELD");
            Log.i(TAG, "chld is CHLD_TYPE_RELEASEHELD");
            if (!mCallInfo.isNullCall(ringingCall)) {
                Log.i(TAG, "asdf reject " + ringingCall.hashCode());
                Log.i(TAG, "reject ringing call " + ringingCall.hashCode());
                ringingCall.reject(false, null);
                return true;
            } else if (!mCallInfo.isNullCall(heldCall)) {