Skip to content
Commit c3ea0d3f authored by Hansong Zhang's avatar Hansong Zhang
Browse files

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 28963cdd)
parent 1f24f521
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