powerstats: Modify file path for nfc devices am: f849ce0944 am: 4f4066019c

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

Change-Id: Ic375a4c971eeb8f3e628b64a49733148ba3c12fd
This commit is contained in:
Manish Varma 2021-05-14 06:10:28 +00:00 committed by Automerger Merge Worker
commit ffcc05128d
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ int main() {
addGs101CommonDataProviders(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";
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());

View file

@ -110,7 +110,7 @@ int main() {
addGs101CommonDataProviders(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);
const std::string instance = std::string() + PowerStats::descriptor + "/default";