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

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

Merge "Don't depend on String8 cast to C string [health]" into main am: d937584b

parents ddd2d245 d937584b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ void convertToHealthInfo(const struct android::BatteryProperties *p,
    info.batteryCycleCount      = p->batteryCycleCount;
    info.batteryFullCharge      = p->batteryFullCharge;
    info.batteryChargeCounter   = p->batteryChargeCounter;
    info.batteryTechnology      = p->batteryTechnology;
    info.batteryTechnology      = p->batteryTechnology.c_str();
}

void convertFromHealthInfo(const HealthInfo& info,