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

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

Merge "Initialize key structure to zero in charger"

parents ec9c8035 d43724d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ class Charger : public ::android::hardware::health::V2_1::implementation::HalHea
    int64_t next_pwr_check_ = 0;
    int64_t wait_batt_level_timestamp_ = 0;

    key_state keys_[KEY_MAX + 1];
    key_state keys_[KEY_MAX + 1] = {};

    animation batt_anim_;
    GRSurface* surf_unknown_ = nullptr;