Merge "Initialize key structure to zero in charger" am: ef0252108c am: ebfe76c75e am: 33875834cc

Change-Id: Ibb4d2d0ee8dbaba65e0982061a6cea7f2eafb969
This commit is contained in:
Automerger Merge Worker 2020-02-11 22:14:48 +00:00
commit 833c7745dc

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;