summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-01-29 12:13:54 -0800
committerAdam Lesinski <adamlesinski@google.com>2016-01-29 12:41:27 -0800
commita426817a06ed228cc52097c866a7d263bddadbb8 (patch)
treee9a84eb46f47b8792f0b601d5e4bae00715f0802 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta74cce60721d2d2de04778eabab31a7aef8117d4 (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