Fixed issue with Settings app crashing after turning on/off and clicking unpair

Change-Id: Icc7667cea62251074ae38aa2d650c88a51d8eab6
This commit is contained in:
fredc
2012-04-24 03:47:53 -07:00
committed by Matthew Xie
parent 7f38f47ed2
commit 83b0d575dd

View File

@@ -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;
}
}