commit | a4ed46d2963807ef7824377db852d7636de8eba9 | [log] [tgz] |
---|---|---|
author | Hung-ying Tyan <tyanh@google.com> | Wed Oct 20 18:13:09 2010 +0800 |
committer | Hung-ying Tyan <tyanh@google.com> | Wed Oct 20 18:17:43 2010 +0800 |
tree | 62818167bbfd8b5db741c41496fd544a5091b81d | |
parent | a040c759e1066cd23442f7f3fc660a5332234edd [diff] |
Fix SipBroadcastReceiver in response to SipManager API change. Related to bug: 3113033 and CL https://android-git/g/#change,75184 Change-Id: I60b974cb50818e46896cfe2745ef0924b2c978c5
diff --git a/src/com/android/phone/SipBroadcastReceiver.java b/src/com/android/phone/SipBroadcastReceiver.java index 1fb3f65..225b38f 100644 --- a/src/com/android/phone/SipBroadcastReceiver.java +++ b/src/com/android/phone/SipBroadcastReceiver.java
@@ -93,7 +93,7 @@ Context phoneContext = PhoneApp.getInstance(); try { SipAudioCall sipAudioCall = SipManager.newInstance(phoneContext) - .takeAudioCall(intent, null, false); + .takeAudioCall(intent, null); for (Phone phone : CallManager.getInstance().getAllPhones()) { if (phone.getPhoneType() == Phone.PHONE_TYPE_SIP) { if (((SipPhone) phone).canTake(sipAudioCall)) return;