powerstats: Modify file path for nfc devices am: f849ce0944
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14536868 Change-Id: Id1926feacbb83f95f265950fcfbaca06a9b4a9ab
This commit is contained in:
commit
cc558c77d0
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue