diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-01-29 12:13:54 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-01-29 12:41:27 -0800 |
commit | a426817a06ed228cc52097c866a7d263bddadbb8 (patch) | |
tree | e9a84eb46f47b8792f0b601d5e4bae00715f0802 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions