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

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

Merge "Fix segfault." am: b278ae0c

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

Change-Id: Iefeda021f623ae7bfd7ee26173a9bb5af8827a2b
parents 0e538f82 b278ae0c
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(),