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

Commit d6f30844 authored by Martin Brabham's avatar Martin Brabham
Browse files

Fix bug for CLCC polling; remove message if not using

Bug: 70660604
Change-Id: Icfcbb6b2487cdfbe0e7f4c0bb056e4a2b6bd9380
(cherry picked from commit 7e574b05e2bfca470c51b6b7878a6b8c742a13f5)
parent 947ec9e2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -400,6 +400,8 @@ public class HeadsetClientStateMachine extends StateMachine {
                if (getCall(BluetoothHeadsetClientCall.CALL_STATE_INCOMING) != null) {
                    Log.d(TAG, "Still have incoming call; polling");
                    sendMessageDelayed(QUERY_CURRENT_CALLS, QUERY_CURRENT_CALLS_WAIT_MILLIS);
                } else {
                    removeMessages(QUERY_CURRENT_CALLS);
                }
            }
        }