diff options
author | zachh <zachh@google.com> | 2017-12-15 17:42:12 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-15 17:50:58 -0800 |
commit | ba44ee32b2d99e5ddc67f7037a519f305279cb85 (patch) | |
tree | da873a5ce24d3cb14b5c466163f64407a4712eb4 /java/com/android/dialer/phonelookup/phone_lookup_info.proto | |
parent | 1f9a42626218934ec68926b5553ff387c5f0bf21 (diff) |
Support empty PhoneLookupInfo in Cp2PhoneLookup.
This is necessary to support the case when the user has just upgraded to the new UI and there is no PhoneLookupHistory data yet, or they have cleared their data.
Bug: 70570635
Test: unit and manual
PiperOrigin-RevId: 179261139
Change-Id: I1e521d2e86bd3f8643c5c0bb537a52c41f1ceb6d
Diffstat (limited to 'java/com/android/dialer/phonelookup/phone_lookup_info.proto')
-rw-r--r-- | java/com/android/dialer/phonelookup/phone_lookup_info.proto | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/com/android/dialer/phonelookup/phone_lookup_info.proto b/java/com/android/dialer/phonelookup/phone_lookup_info.proto index 4e62d67c1..c42faf49d 100644 --- a/java/com/android/dialer/phonelookup/phone_lookup_info.proto +++ b/java/com/android/dialer/phonelookup/phone_lookup_info.proto @@ -39,8 +39,9 @@ message PhoneLookupInfo { optional string lookup_uri = 6; } // Repeated because one phone number can be associated with multiple CP2 - // contacts. If no contact is found for a number, this will contain exactly - // one element which is the default Cp2ContactInfo instance. + // contacts. + // + // Empty if there is no CP2 contact information for the number. repeated Cp2ContactInfo cp2_contact_info = 1; } optional Cp2Info cp2_info = 1; |