diff options
author | linyuh <linyuh@google.com> | 2018-01-09 18:26:39 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-09 18:31:41 -0800 |
commit | 99817db9f0369747c22a4e03ad1f1db26c5d81bb (patch) | |
tree | 029675887cacb0a3d5361697bd822c6cb596ba24 /java/com/android/dialer/phonelookup/phone_lookup_info.proto | |
parent | 02415abade15ecda08d19723bdb4127a326ef7a5 (diff) |
Rename Cp2PhoneLookup as Cp2LocalPhoneLookup and PhoneLookupInfo.cp2_info as PhoneLookupInfo.cp2_local_info.
To support remote CP2 contacts, there will be a new PhoneLookup ("Cp2RemotePhoneLookup") and a new field in proto PhoneLookupInfo ("cp2_remote_info").
In proto PhoneLookupInfo, cp2_local_info and cp2_remote_info will be of the same type ("Cp2Info").
Bug: 71763594
Test: Existing tests
PiperOrigin-RevId: 181405798
Change-Id: I6c43b486229d4e9ae7b55c579d9c9997a2884c80
Diffstat (limited to 'java/com/android/dialer/phonelookup/phone_lookup_info.proto')
-rw-r--r-- | java/com/android/dialer/phonelookup/phone_lookup_info.proto | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/java/com/android/dialer/phonelookup/phone_lookup_info.proto b/java/com/android/dialer/phonelookup/phone_lookup_info.proto index 6662646aa..f1497bdca 100644 --- a/java/com/android/dialer/phonelookup/phone_lookup_info.proto +++ b/java/com/android/dialer/phonelookup/phone_lookup_info.proto @@ -9,12 +9,12 @@ package com.android.dialer.phonelookup; // Contains information about a phone number, possibly from many sources. // -// This message is organized into sub-messages where each sub-message -// corresponds to an implementation of PhoneLookup. For example, the Cp2Info -// corresponds to Cp2PhoneLookup class, and the Cp2PhoneLookup class alone is -// responsible for populating its fields. +// This message is organized into sub-message fields where each one corresponds +// to an implementation of PhoneLookup. For example, field "cp2_local_info" +// corresponds to class Cp2LocalPhoneLookup, and class Cp2LocalPhoneLookup +// alone is responsible for populating it. message PhoneLookupInfo { - // Information about a PhoneNumber retrieved from CP2. Cp2PhoneLookup is + // Information about a PhoneNumber retrieved from CP2. Cp2LocalPhoneLookup is // responsible for populating the data in this message. message Cp2Info { // Information about a single local contact. @@ -50,7 +50,7 @@ message PhoneLookupInfo { // log needs to query for the CP2 information at render time. optional bool is_incomplete = 2; } - optional Cp2Info cp2_info = 1; + optional Cp2Info cp2_local_info = 1; // Message for APDL, a lookup for the proprietary Google dialer. message ApdlInfo { |