From bae4290cc613e0d2188a7d2a4aa39ac93daf8cfc Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 13 May 2013 12:01:10 +0200 Subject: [PATCH] Removed warning + don't display bluetooth route is BT is enabled but not connected to a device --- src/org/linphone/HistoryDetailFragment.java | 4 ---- src/org/linphone/LinphoneManager.java | 1 - 2 files changed, 5 deletions(-) diff --git a/src/org/linphone/HistoryDetailFragment.java b/src/org/linphone/HistoryDetailFragment.java index 429426ebf..e37e10a03 100644 --- a/src/org/linphone/HistoryDetailFragment.java +++ b/src/org/linphone/HistoryDetailFragment.java @@ -22,7 +22,6 @@ import java.util.Calendar; import org.linphone.core.LinphoneAddress; import org.linphone.core.LinphoneCoreFactory; -import org.linphone.ui.AvatarWithShadow; import android.annotation.SuppressLint; import android.net.Uri; @@ -40,7 +39,6 @@ import android.widget.TextView; */ public class HistoryDetailFragment extends Fragment implements OnClickListener { private ImageView dialBack, chat, addToContacts; - private AvatarWithShadow contactPicture; private View view; private TextView contactName, contactAddress, callDirection, time, date; private String sipUri, displayName, pictureUri; @@ -57,8 +55,6 @@ public class HistoryDetailFragment extends Fragment implements OnClickListener { view = inflater.inflate(R.layout.history_detail, container, false); - contactPicture = (AvatarWithShadow) view.findViewById(R.id.contactPicture); - dialBack = (ImageView) view.findViewById(R.id.dialBack); dialBack.setOnClickListener(this); diff --git a/src/org/linphone/LinphoneManager.java b/src/org/linphone/LinphoneManager.java index 27f6f6197..f5bab555b 100644 --- a/src/org/linphone/LinphoneManager.java +++ b/src/org/linphone/LinphoneManager.java @@ -260,7 +260,6 @@ public final class LinphoneManager implements LinphoneCoreListener { if (profile == BluetoothProfile.HEADSET) { mBluetoothHeadset = (BluetoothHeadset) proxy; Log.d("Bluetooth headset connected"); - isBluetoothScoConnected = true; } } @TargetApi(Build.VERSION_CODES.HONEYCOMB)