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

Commit d937584b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents bddf4257 4f5fdf09
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,