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

Commit dd7bf3e5 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Add BluetoothDevice field to BluetoothHeadsetClientCall

Change-Id: I07134da3b93e1db087ebbb9b97b7a31dbae37272
parent ea04f569
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -186,8 +186,8 @@ final class HeadsetClientStateMachine extends StateMachine {
            id++;
        }

        BluetoothHeadsetClientCall c = new BluetoothHeadsetClientCall(id, state, number, false,
                outgoing);
        BluetoothHeadsetClientCall c = new BluetoothHeadsetClientCall(mCurrentDevice, id, state,
                number, false, outgoing);
        mCalls.put(id, c);

        sendCallChangedIntent(c);
@@ -856,8 +856,8 @@ final class HeadsetClientStateMachine extends StateMachine {
            return;
        }

        mCallsUpdate.put(id, new BluetoothHeadsetClientCall(id, state, number, multiParty,
                outgoing));
        mCallsUpdate.put(id, new BluetoothHeadsetClientCall(mCurrentDevice, id, state, number,
                multiParty, outgoing));
    }

    // helper function for determining if query calls should be looped