Fixed issue with Settings app crashing after turning on/off and clicking unpair
Change-Id: Icc7667cea62251074ae38aa2d650c88a51d8eab6
This commit is contained in:
@@ -33,7 +33,6 @@ import java.util.List;
|
||||
*/
|
||||
final class PanProfile implements LocalBluetoothProfile {
|
||||
private BluetoothPan mService;
|
||||
|
||||
// Tethering direction for each device
|
||||
private final HashMap<BluetoothDevice, Integer> mDeviceRoleMap =
|
||||
new HashMap<BluetoothDevice, Integer>();
|
||||
@@ -52,7 +51,7 @@ final class PanProfile implements LocalBluetoothProfile {
|
||||
}
|
||||
|
||||
public void onServiceDisconnected(int profile) {
|
||||
mService = null;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user