Merge "Fix segfault." am: b278ae0c1e
am: 5446c9c172
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1365592 Change-Id: I6502829205ede2de914b27e6c2c5c42916af2b39
This commit is contained in:
commit
b659a47fb2
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ void convertFromHealthConfig(const HealthConfig& c, struct healthd_config *hc) {
|
|||
|
||||
hc->batteryCurrentAvgPath =
|
||||
android::String8(c.batteryCurrentAvgPath.c_str(),
|
||||
c.batteryCurrentNowPath.size());
|
||||
c.batteryCurrentAvgPath.size());
|
||||
|
||||
hc->batteryChargeCounterPath =
|
||||
android::String8(c.batteryChargeCounterPath.c_str(),
|
||||
|
|
Loading…
Reference in a new issue