Removed warning + don't display bluetooth route is BT is enabled but not connected to a device
This commit is contained in:
parent
4a4f2fb5d4
commit
bae4290cc6
2 changed files with 0 additions and 5 deletions
|
@ -22,7 +22,6 @@ import java.util.Calendar;
|
||||||
|
|
||||||
import org.linphone.core.LinphoneAddress;
|
import org.linphone.core.LinphoneAddress;
|
||||||
import org.linphone.core.LinphoneCoreFactory;
|
import org.linphone.core.LinphoneCoreFactory;
|
||||||
import org.linphone.ui.AvatarWithShadow;
|
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
@ -40,7 +39,6 @@ import android.widget.TextView;
|
||||||
*/
|
*/
|
||||||
public class HistoryDetailFragment extends Fragment implements OnClickListener {
|
public class HistoryDetailFragment extends Fragment implements OnClickListener {
|
||||||
private ImageView dialBack, chat, addToContacts;
|
private ImageView dialBack, chat, addToContacts;
|
||||||
private AvatarWithShadow contactPicture;
|
|
||||||
private View view;
|
private View view;
|
||||||
private TextView contactName, contactAddress, callDirection, time, date;
|
private TextView contactName, contactAddress, callDirection, time, date;
|
||||||
private String sipUri, displayName, pictureUri;
|
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);
|
view = inflater.inflate(R.layout.history_detail, container, false);
|
||||||
|
|
||||||
contactPicture = (AvatarWithShadow) view.findViewById(R.id.contactPicture);
|
|
||||||
|
|
||||||
dialBack = (ImageView) view.findViewById(R.id.dialBack);
|
dialBack = (ImageView) view.findViewById(R.id.dialBack);
|
||||||
dialBack.setOnClickListener(this);
|
dialBack.setOnClickListener(this);
|
||||||
|
|
||||||
|
|
|
@ -260,7 +260,6 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
if (profile == BluetoothProfile.HEADSET) {
|
if (profile == BluetoothProfile.HEADSET) {
|
||||||
mBluetoothHeadset = (BluetoothHeadset) proxy;
|
mBluetoothHeadset = (BluetoothHeadset) proxy;
|
||||||
Log.d("Bluetooth headset connected");
|
Log.d("Bluetooth headset connected");
|
||||||
isBluetoothScoConnected = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
|
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
|
||||||
|
|
Loading…
Reference in a new issue