Constructor for BTManager made public to fix crash

This commit is contained in:
Sylvain Berfini 2014-09-30 11:33:00 +02:00
parent 96c1fbabb5
commit 0a414f3e9d

View file

@ -66,7 +66,7 @@ public class BluetoothManager extends BroadcastReceiver {
return instance; return instance;
} }
private BluetoothManager() { public BluetoothManager() {
isBluetoothConnected = false; isBluetoothConnected = false;
mContext = LinphoneManager.getInstance().getContext(); mContext = LinphoneManager.getInstance().getContext();
mAudioManager = ((AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE)); mAudioManager = ((AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE));