Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a33f9f01 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix segfault." am: b278ae0c am: 5446c9c1 am: b659a47f am: 32253ad1

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1365592

Change-Id: Ieba91ea3f0a673c97f4ede18ad4ae2b3057f84fb
parents cd81ab5e 32253ad1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(),