commit | b278ae0c1ebf6d19113f5e46d63c8a3a50c43c4b | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Jul 17 21:20:11 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jul 17 21:20:11 2020 +0000 |
tree | a2227db65674cac7d8973a05eef4d2e7bd8913d1 | |
parent | 32a90a06f435d3f180af2af3b4bf1ee358803cf7 [diff] | |
parent | 339c986606573198e91e96a8f8ba964468c7a7be [diff] |
Merge "Fix segfault."
diff --git a/health/1.0/default/convert.cpp b/health/1.0/default/convert.cpp index 7f1e3c4..3680d4d 100644 --- a/health/1.0/default/convert.cpp +++ b/health/1.0/default/convert.cpp
@@ -79,7 +79,7 @@ hc->batteryCurrentAvgPath = android::String8(c.batteryCurrentAvgPath.c_str(), - c.batteryCurrentNowPath.size()); + c.batteryCurrentAvgPath.size()); hc->batteryChargeCounterPath = android::String8(c.batteryChargeCounterPath.c_str(),