diff options
author | zachh <zachh@google.com> | 2017-12-20 10:57:38 -0800 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-12-22 08:53:44 -0800 |
commit | 0fab10eb28ab1e246f572302ad0e12508a196b34 (patch) | |
tree | 6fb4d96f0c6e2d9e31ab92fb7a3da5d50384a26d /java/com/android/contacts | |
parent | 48609d015f06e262796b7ce8a088243199940a8a (diff) |
Added copySubMessage method to PhoneLookup interface.
The existing way that protos are merged in CompositePhoneLookup is not correct because foo_submessage from BarDataSource may incorrectly contribute old information to the merged message.
The new copySubMessage method makes it so that each PhoneLookup is responsible for defining which submessage it is responsible for and prevents the problem.
Test: unit
PiperOrigin-RevId: 179707015
Change-Id: I566305cf64c46c698f14812d9241d166ac75a6d3
Diffstat (limited to 'java/com/android/contacts')
0 files changed, 0 insertions, 0 deletions