diff options
author | Makoto Onuki <omakoto@google.com> | 2014-08-26 14:06:30 -0700 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2014-08-27 16:29:40 +0000 |
commit | 0e917336a2e7ad8191988042800f4be443b5c69a (patch) | |
tree | b971fd81caa88ce26d6692ad3e9aaa72cb81601e /telephony | |
parent | 67a8aae3c8302ec426137e3f92ca2392bf471dfe (diff) | |
download | frameworks_base-0e917336a2e7ad8191988042800f4be443b5c69a.zip frameworks_base-0e917336a2e7ad8191988042800f4be443b5c69a.tar.gz frameworks_base-0e917336a2e7ad8191988042800f4be443b5c69a.tar.bz2 |
Address API review comments:
- Rename isCorpContactId() to isEnterpriseContactId().
- Update EXTRA_* constant values.
- Update javadoc on NAME_VERIFIED.
Bug 17253963
Change-Id: I1bef3adbb4125b39129c77cca29c4b8089e1f8cc
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/CallerInfo.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/telephony/java/com/android/internal/telephony/CallerInfo.java b/telephony/java/com/android/internal/telephony/CallerInfo.java index c9c4586..d93c282 100644 --- a/telephony/java/com/android/internal/telephony/CallerInfo.java +++ b/telephony/java/com/android/internal/telephony/CallerInfo.java @@ -40,8 +40,6 @@ import com.android.i18n.phonenumbers.PhoneNumberUtil; import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; import android.telephony.SubscriptionManager; -import android.telephony.TelephonyManager; - import java.util.Locale; @@ -219,7 +217,7 @@ public class CallerInfo { columnIndex = getColumnIndexForPersonId(contactRef, cursor); if (columnIndex != -1) { final long contactId = cursor.getLong(columnIndex); - if (contactId != 0 && !Contacts.isCorpContactId(contactId)) { + if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { info.contactIdOrZero = contactId; if (VDBG) { Rlog.v(TAG, "==> got info.contactIdOrZero: " + info.contactIdOrZero); |