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)
Loading
Please register or sign in to comment