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

Commit a63a5848 authored by Chen Chen's avatar Chen Chen
Browse files

Improve logging of BluetoothInCallService

Test: atest BluetoothInstrumentationTests
Bug: 260914018
Change-Id: Ia5997a04ed8c6aedb3f1e1da6fbda7bee3cd45b5
parent cfdb9e3e
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -847,22 +847,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)) {