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

Commit 9e45f201 authored by Bertrand Simonnet's avatar Bertrand Simonnet Committed by Gerrit Code Review
Browse files

Merge "metricsd: Rename build_target_id to product_id."

parents 58b136cb 7dc78271
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -88,7 +88,7 @@ message SystemProfileProto {
  optional string application_locale = 4;
  optional string application_locale = 4;


  message BrilloDeviceData {
  message BrilloDeviceData {
    optional string build_target_id = 1;
    optional string product_id = 1;
  }
  }
  optional BrilloDeviceData brillo = 21;
  optional BrilloDeviceData brillo = 21;


+1 −1
Original line number Original line Diff line number Diff line
@@ -136,7 +136,7 @@ bool SystemProfileCache::Populate(
  profile_proto->set_channel(profile_.channel);
  profile_proto->set_channel(profile_.channel);
  metrics::SystemProfileProto_BrilloDeviceData* device_data =
  metrics::SystemProfileProto_BrilloDeviceData* device_data =
      profile_proto->mutable_brillo();
      profile_proto->mutable_brillo();
  device_data->set_build_target_id(profile_.product_id);
  device_data->set_product_id(profile_.product_id);


  return true;
  return true;
}
}