Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dc78271 authored by Bertrand SIMONNET's avatar Bertrand SIMONNET
Browse files

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
parent d1f8e4dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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;
}