Fix BT crash when app is closed

This commit is contained in:
Sylvain Berfini 2013-05-31 11:36:54 +02:00
parent c7203057f0
commit cb5d2a0f30

View file

@ -34,6 +34,9 @@ import android.os.Build;
public class BluetoothManager extends BroadcastReceiver {
@SuppressWarnings("deprecation")
public void onReceive(Context context, Intent intent) {
if (!LinphoneManager.isInstanciated())
return;
String action = intent.getAction();
LinphoneManager lm = LinphoneManager.getInstance();