Removed warning + don't display bluetooth route is BT is enabled but not connected to a device

This commit is contained in:
Sylvain Berfini 2013-05-13 12:01:10 +02:00
parent 4a4f2fb5d4
commit bae4290cc6
2 changed files with 0 additions and 5 deletions

View file

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

View file

@ -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)