commit | c3ea0d3f799ec1ce7b42b159b80a5f5022bd9b07 | [log] [tgz] |
---|---|---|
author | Hansong Zhang <hsz@google.com> | Wed Jun 13 11:30:59 2018 -0700 |
committer | Hansong Zhang <hsz@google.com> | Wed Sep 26 14:04:47 2018 -0700 |
tree | bbdafacba30d2742971b4db497a6c31d41a57569 | |
parent | 1f24f521c266b3f2eac0601ac4b0237752cf3334 [diff] |
Prevent NPE when profile is null When CachedBluetoothDevice is checking whether it's a connected A2DP/HFP/HearingAid device, check profile != null Bug: 116317072 Bug: 116044083 Bug: 110153306 Test: robolectric Change-Id: I094d065d29ccbfc76bad00b4a307be8f1b88ec9b Merged-In: I094d065d29ccbfc76bad00b4a307be8f1b88ec9b (cherry picked from commit 28963cdd45505832ce79a8afe5b01990528289d2)