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

Skip to content
Commit 50fc93b3 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Handle NPE from BluetoothRouteProvider

NPE could be thrown if ACTION_ACTIVE_DEVICE_CHANGED
is sent before ACTION_CONNECTION_STATE_CHANGED (connected)
is sent.
This CL handles the case by creating a new bluetooth route.
If ACTION_CONNECTION_STATE_CHANGED follows, connectedProfiles
of the route will be managed.

Bug: 235311641
Test: confirm NPE is not thrown when receiving MT call with LE HS.

Merged-In: I931b3eb38704f23b96c80d70d121c27bef297c7b
Change-Id: I931b3eb38704f23b96c80d70d121c27bef297c7b
(cherry picked from commit c376e8c1)
parent 3ff8feac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment