diff options
author | Victor Chang <vichang@google.com> | 2015-12-17 09:14:15 +0000 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2016-01-13 22:10:00 +0000 |
commit | 240523d3e1b4502326c8d0d313dd1787aa8ff024 (patch) | |
tree | d6478e553604cbd844704d03d80708c0951bd23b /src/com/android/dialer/PhoneCallDetails.java | |
parent | 90a13e94e3d918da73e83d80ab12c6e5f3f76f7e (diff) |
Show work badge icon/description in InCallUI/Dialer
Add work badge icon in calllog for work contacts
To see this feature
1. Receive/Make a call from work contact
(a contact in work profile has the phone number)
2. Drop/miss the call. See a badge icon next to phone label in calllog
BUG=26082618
Change-Id: I7371795e3c3ef925739096f39a70f03722dd430b
Diffstat (limited to 'src/com/android/dialer/PhoneCallDetails.java')
-rw-r--r-- | src/com/android/dialer/PhoneCallDetails.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/dialer/PhoneCallDetails.java b/src/com/android/dialer/PhoneCallDetails.java index 71aa26d15..b332b43cc 100644 --- a/src/com/android/dialer/PhoneCallDetails.java +++ b/src/com/android/dialer/PhoneCallDetails.java @@ -16,6 +16,7 @@ package com.android.dialer; +import com.android.contacts.common.ContactsUtils.UserType; import com.android.contacts.common.preference.ContactsPreferences; import com.android.dialer.calllog.PhoneNumberDisplayUtil; @@ -101,6 +102,9 @@ public class PhoneCallDetails { // Whether the contact number is a voicemail number. public boolean isVoicemail; + /** The {@link UserType} of the contact */ + public @UserType long contactUserType; + /** * If this is a voicemail, whether the message is read. For other types of calls, this defaults * to {@code true}. |