commit | d43724d0b300c8fa706cdd61cf7759af2895d228 | [log] [tgz] |
---|---|---|
author | Stephane Lee <stayfan@google.com> | Mon Feb 10 15:16:11 2020 -0800 |
committer | Stephane Lee <stayfan@google.com> | Mon Feb 10 16:38:04 2020 -0800 |
tree | f7aacc74a106e45509748d0ab582f17ce5422a74 | |
parent | 770a0f078de28a281da498834c6a318ec7e2c69d [diff] |
Initialize key structure to zero in charger This is necessary because the key callback may not be called before the states are checked. Bug: 149107347 Test: Ensure charger does not reboot Change-Id: I08d9e4b4046768eb0c0ca6171a2e5b7e5409d073