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

Change-Id: Ie923c20e07ed6c7fe5338769d7c8ffa0092de02d
This commit is contained in:
Automerger Merge Worker 2020-02-11 22:08:08 +00:00
commit 33875834cc

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;