diff options
Diffstat (limited to 'InCallUI/src/com/android/incallui/TelecommAdapter.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/TelecommAdapter.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/TelecommAdapter.java b/InCallUI/src/com/android/incallui/TelecommAdapter.java index 6d0e0a62d..745931cfe 100644 --- a/InCallUI/src/com/android/incallui/TelecommAdapter.java +++ b/InCallUI/src/com/android/incallui/TelecommAdapter.java @@ -22,6 +22,7 @@ import android.content.Intent; import android.os.Looper; import android.telecomm.InCallAdapter; import android.telecomm.Phone; +import android.telecomm.PhoneAccount; import com.google.common.base.Preconditions; @@ -194,4 +195,12 @@ final class TelecommAdapter implements InCallPhoneListener { Log.e(this, "error phoneAccountClicked, mPhone is null"); } } + + void phoneAccountSelected(String callId, PhoneAccount account) { + if (mPhone != null) { + getTelecommCallById(callId).phoneAccountSelected(account); + } else { + Log.e(this, "error phoneAccountSelected, mAdapter is null"); + } + } } |