fix bluetooth lock
This commit is contained in:
parent
66dc4e11a2
commit
233b197986
3 changed files with 19 additions and 6 deletions
|
@ -1429,10 +1429,24 @@ public class LinphoneActivity extends FragmentActivity implements
|
|||
return view;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUserInteraction() {
|
||||
// TODO Auto-generated method stub
|
||||
super.onUserInteraction();
|
||||
Log.i("User interaction started");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onUserLeaveHint() {
|
||||
// TODO Auto-generated method stub
|
||||
super.onUserLeaveHint();
|
||||
Log.i("User interaction stopped");
|
||||
}
|
||||
}
|
||||
|
||||
interface ContactPicked {
|
||||
void setAddresGoToDialerAndCall(String number, String name, Uri photo);
|
||||
|
||||
void goToDialer();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -571,9 +571,9 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
|||
Log.w("no config ready yet");
|
||||
}
|
||||
boolean routeToBT = mServiceContext.getResources().getBoolean(R.bool.route_audio_to_bluetooth_if_available);
|
||||
if (routeToBT) {
|
||||
startBluetooth();
|
||||
}
|
||||
if (routeToBT) {
|
||||
startBluetooth();
|
||||
}
|
||||
|
||||
TimerTask lTask = new TimerTask() {
|
||||
@Override
|
||||
|
@ -588,7 +588,6 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
|||
lFilter.addAction(Intent.ACTION_SCREEN_OFF);
|
||||
mServiceContext.registerReceiver(mKeepAliveReceiver, lFilter);
|
||||
|
||||
startBluetooth();
|
||||
resetCameraFromPreferences();
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0f9f315cbb1ff4af29554cff3c9a20ac99a2f0ba
|
||||
Subproject commit 4da21ea4b0e8d1cc4a1005ed446744ead533bd4c
|
Loading…
Reference in a new issue