commit | 6d15b70f97393b7e60173970d76275a7e23a8764 | [log] [tgz] |
---|---|---|
author | Jack Wu <wjack@google.com> | Thu Jun 28 15:47:47 2018 +0800 |
committer | AleX Pelosi <apelosi@google.com> | Sat Jul 28 17:22:25 2018 +0000 |
tree | d4bc53d1bba43d0b3fc1ecfbc7d9d14290ddc6e2 | |
parent | 5143df1b4c046614e699e8e22f5b23e75a1ea1dc [diff] |
battery: fix retail mode not working Charging was not disabled in retail mode. The charging disable path was not executed because the priority of charger present check was higher. Separate the check of charger in/out and charging enable/disable to fix this. Bug: 110489408 Change-Id: If0180621903ec20a969cb22359e03a76eb3bd8aa Signed-off-by: Jack Wu <wjack@google.com>