metricsd: Rename build_target_id to product_id.
We use product_id instead of build_target_id, the protobuffer should rename that field too to be consistent. The same change was made on the backend. BUG: 24712895 Change-Id: Id9492e3debab986c9df7d4ec0caef8730eb14240
This commit is contained in:
parent
d1f8e4dc9a
commit
7dc7827107
2 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ message SystemProfileProto {
|
|||
optional string application_locale = 4;
|
||||
|
||||
message BrilloDeviceData {
|
||||
optional string build_target_id = 1;
|
||||
optional string product_id = 1;
|
||||
}
|
||||
optional BrilloDeviceData brillo = 21;
|
||||
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ bool SystemProfileCache::Populate(
|
|||
profile_proto->set_channel(profile_.channel);
|
||||
metrics::SystemProfileProto_BrilloDeviceData* device_data =
|
||||
profile_proto->mutable_brillo();
|
||||
device_data->set_build_target_id(profile_.product_id);
|
||||
device_data->set_product_id(profile_.product_id);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue