Merge "Initialize key structure to zero in charger"

This commit is contained in:
Treehugger Robot 2020-02-11 21:41:17 +00:00 committed by Gerrit Code Review
commit ef0252108c

View file

@ -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;