private constructor for BTManager cause crash sometimes

This commit is contained in:
Sylvain Berfini 2014-10-29 15:01:09 +01:00
parent c208d3e377
commit ee6aa7bf69

View file

@ -66,7 +66,7 @@ public class BluetoothManager extends BroadcastReceiver {
return instance; return instance;
} }
private BluetoothManager() { public BluetoothManager() {
isBluetoothConnected = false; isBluetoothConnected = false;
if (LinphoneService.isReady()) { if (LinphoneService.isReady()) {
mContext = LinphoneService.instance().getApplicationContext(); mContext = LinphoneService.instance().getApplicationContext();