diff options
author | Nancy Chen <nancychen@google.com> | 2014-10-08 20:17:55 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2014-10-15 15:01:36 -0700 |
commit | e80d62229bb11a92f0db8d4e4bac6533bbed9b66 (patch) | |
tree | 5a44adccf4d5b84655d41c53d7fb7ff01fe2a57f /src/com/android/dialer/calllog/CallLogListItemHelper.java | |
parent | 8ba957f15593347ab800388a4013a0d7b38ad097 (diff) |
Enable use of phone accounts for voicemail info display.
Call the "isVoicemailNumber(subId, number)" method instead
of the one with just the number. This is because we need to check
whether a number is the voicemail number for a specific phone account,
otherwise the UI would never correctly display "voicemail" for the
non-default SIM.
Bug:17925501
Change-Id: If1d6cb1acfcb570aca5e639858af8804bac202c0
Diffstat (limited to 'src/com/android/dialer/calllog/CallLogListItemHelper.java')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogListItemHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogListItemHelper.java b/src/com/android/dialer/calllog/CallLogListItemHelper.java index 68ca7a8dc..1eb25fbfa 100644 --- a/src/com/android/dialer/calllog/CallLogListItemHelper.java +++ b/src/com/android/dialer/calllog/CallLogListItemHelper.java @@ -222,7 +222,7 @@ import com.android.dialer.R; if (!TextUtils.isEmpty(details.name)) { recipient = details.name; } else { - recipient = mPhoneNumberHelper.getDisplayNumber( + recipient = mPhoneNumberHelper.getDisplayNumber(details.accountHandle, details.number, details.numberPresentation, details.formattedNumber); } return recipient; |