commit | c376e8c11204135e3ee2bf72ef7af6b1de6d42cf | [log] [tgz] |
---|---|---|
author | Kyunglyul Hyun <klhyun@google.com> | Fri Jun 10 19:49:16 2022 +0900 |
committer | Kyunglyul Hyun <klhyun@google.com> | Tue Jun 14 15:33:09 2022 +0900 |
tree | 9060b788569542bb6a84c93701bd6233a63304fe | |
parent | 47ecbaf0add19dab37c93d76a289f1e0f67eeb37 [diff] |
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 is followed, connectedProfiles of the route will be managed. Bug: 235311641 Test: build successful Change-Id: I931b3eb38704f23b96c80d70d121c27bef297c7b