mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-01-27 18:59:11 +00:00
Merge "Don't depend on String8 cast to C string [health]" into main am: d937584b22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2748301 Change-Id: I1c913e1f157c5270904b2d92d729b85977b5189d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user