diff options
author | linyuh <linyuh@google.com> | 2018-04-08 23:28:26 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-08 23:29:04 -0700 |
commit | 3bf84127cd907af57524cce9db4ad02455cd0495 (patch) | |
tree | 43840695a8473f80a8473f7cbdf9f82e12454cfc /java/com/android/dialer/phonelookup/phone_lookup_info.proto | |
parent | e4200e1fb12d021482d642047e322e57039a6616 (diff) |
Have PhoneLookup read carrier presence data from CP2.
Bug: 70988687
Test: Cp2DefaultDirectoryPhoneLookupTest, PhoneLookupInfoConsolidatorTest
PiperOrigin-RevId: 192085574
Change-Id: I4512c9e2e9e14340fa3aa9b2d7d6aaea6344bba6
Diffstat (limited to 'java/com/android/dialer/phonelookup/phone_lookup_info.proto')
-rw-r--r-- | java/com/android/dialer/phonelookup/phone_lookup_info.proto | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/java/com/android/dialer/phonelookup/phone_lookup_info.proto b/java/com/android/dialer/phonelookup/phone_lookup_info.proto index 5fa33d4d4..96121885f 100644 --- a/java/com/android/dialer/phonelookup/phone_lookup_info.proto +++ b/java/com/android/dialer/phonelookup/phone_lookup_info.proto @@ -18,7 +18,7 @@ message PhoneLookupInfo { // Information about a PhoneNumber retrieved from CP2. message Cp2Info { // Information about a single contact. - // Next ID: 8 + // Next ID: 9 message Cp2ContactInfo { // For a contact in the default directory: // android.provider.ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME_PRIMARY @@ -65,6 +65,15 @@ message PhoneLookupInfo { // constructed based on // android.provider.ContactsContract.PhoneLookup.LOOKUP_KEY optional string lookup_uri = 7; + + // For a contact in the default directory: + // value set based on + // android.provider.ContactsContract.CommonDataKinds.Phone.CARRIER_PRESENCE + // For a contact in other directories: always false. + // This is because we lookup contacts in other directories via + // android.provider.ContactsContract.PhoneLookup, to which carrier + // presence info is not directly accessible. + optional bool can_support_carrier_video_call = 8; } // Repeated because one phone number can be associated with multiple CP2 // contacts. |