commit | a426817a06ed228cc52097c866a7d263bddadbb8 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Fri Jan 29 12:13:54 2016 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Fri Jan 29 12:41:27 2016 -0800 |
tree | e9a84eb46f47b8792f0b601d5e4bae00715f0802 | |
parent | a74cce60721d2d2de04778eabab31a7aef8117d4 [diff] |
BatteryStats: Fix DivideByZero error As we hand out proportional blame to apps for transmitting/receiving packets, make sure to check that the total packets sent never becomes zero. Bug:26873610 Change-Id: I3e0fc3c9e8d4dafce2e88c75d8f44701d8fba0d4