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

Commit e2712eb7 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 am: a33f9f01

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

Change-Id: I62a9dd55b1c90b373fc8e9d7c30cd56537434ca8
parents cef964c1 a33f9f01
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(),