summaryrefslogtreecommitdiff
path: root/health
diff options
context:
space:
mode:
authorJeffrey Huang <jeffreyhuang@google.com>2022-03-16 11:06:27 -0700
committerJeffrey Huang <jeffreyhuang@google.com>2022-03-16 12:42:39 -0700
commit541dc81fdd087f42c67c2f2e6599019b48a5fe3b (patch)
tree91d41c8451d87d152ed710c3643c8f81f82f0e75 /health
parentc65481ac4bef8b5f7a4acd478ecfcd719ce9f4c9 (diff)
downloadpixel-541dc81fdd087f42c67c2f2e6599019b48a5fe3b.tar.gz
Remove reverseDomainName from pixel atoms
Bug: 224697964 Test: TH Change-Id: I566e23bc818a6d7184202d445eba438f41b5cf5b
Diffstat (limited to 'health')
-rw-r--r--health/StatsHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/health/StatsHelper.cpp b/health/StatsHelper.cpp
index 6986d6a0..22fb9f3e 100644
--- a/health/StatsHelper.cpp
+++ b/health/StatsHelper.cpp
@@ -69,7 +69,7 @@ void reportBatteryHealthSnapshot(const std::shared_ptr<IStats> &stats_client,
values[6] = tmp;
// Send vendor atom to IStats HAL
- VendorAtom event = {.reverseDomainName = PixelAtoms::ReverseDomainNames().pixel(),
+ VendorAtom event = {.reverseDomainName = "",
.atomId = PixelAtoms::Atom::kVendorBatteryHealthSnapshot,
.values = std::move(values)};
const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(event);
@@ -86,7 +86,7 @@ void reportBatteryCausedShutdown(const std::shared_ptr<IStats> &stats_client,
values[0] = tmp;
// Send vendor atom to IStats HAL
- VendorAtom event = {.reverseDomainName = PixelAtoms::ReverseDomainNames().pixel(),
+ VendorAtom event = {.reverseDomainName = "",
.atomId = PixelAtoms::Atom::kVendorBatteryCausedShutdown,
.values = std::move(values)};
const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(event);