powerstats: Modify file path for nfc devices am: f849ce0944

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14536868

Change-Id: Ie7180129c26d1bc60da338660cbd47b998c1c386
This commit is contained in:
Manish Varma 2021-05-14 05:57:08 +00:00 committed by Automerger Merge Worker
commit dd428311e6
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ int main() {
addGs101CommonDataProviders(p); addGs101CommonDataProviders(p);
addDisplay(p); addDisplay(p);
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-3/3-0008/power_stats"); addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-3/i2c-st21nfc/power_stats");
const std::string instance = std::string() + PowerStats::descriptor + "/default"; const std::string instance = std::string() + PowerStats::descriptor + "/default";
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str()); binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());

View file

@ -110,7 +110,7 @@ int main() {
addGs101CommonDataProviders(p); addGs101CommonDataProviders(p);
addDisplay(p); addDisplay(p);
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/4-0008/power_stats"); addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/i2c-st21nfc/power_stats");
addUwb(p); addUwb(p);
const std::string instance = std::string() + PowerStats::descriptor + "/default"; const std::string instance = std::string() + PowerStats::descriptor + "/default";