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

Commit fb1fbf5a authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6828801 from ec3b36a4 to rvc-qpr1-release

Change-Id: Ifeca626065ce2d5240a4e8543aa7d1770a146b39
parents dd985e32 ec3b36a4
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -22,6 +22,8 @@ ndk_headers {


cc_library_headers {
cc_library_headers {
    name: "libarect_headers",
    name: "libarect_headers",
    // TODO(b/153609531): remove when no longer needed.
    native_bridge_supported: true,
    export_include_dirs: ["include"],
    export_include_dirs: ["include"],
}
}


+1 −1
Original line number Original line Diff line number Diff line
@@ -58,7 +58,7 @@ hardware::Return<void> StatsHal::reportChargeCycles(const ChargeCycles& chargeCy
    std::vector<int32_t> buckets = chargeCycles.cycleBucket;
    std::vector<int32_t> buckets = chargeCycles.cycleBucket;
    int initialSize = buckets.size();
    int initialSize = buckets.size();
    for (int i = 0; i < 10 - initialSize; i++) {
    for (int i = 0; i < 10 - initialSize; i++) {
        buckets.push_back(-1); // Push -1 for buckets that do not exist.
        buckets.push_back(0); // Push 0 for buckets that do not exist.
    }
    }
    android::util::stats_write(android::util::CHARGE_CYCLES_REPORTED, buckets[0], buckets[1],
    android::util::stats_write(android::util::CHARGE_CYCLES_REPORTED, buckets[0], buckets[1],
            buckets[2], buckets[3], buckets[4], buckets[5], buckets[6], buckets[7], buckets[8],
            buckets[2], buckets[3], buckets[4], buckets[5], buckets[6], buckets[7], buckets[8],