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

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

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

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

Change-Id: I10556bc784394008c8243b730bbf9ee90146bfbe
parents ac812b11 b659a47f
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(),