diff options
author | Junyu Lai <junyulai@google.com> | 2021-09-01 07:36:14 +0000 |
---|---|---|
committer | Aaron Huang <huangaaron@google.com> | 2021-09-08 04:12:31 +0000 |
commit | 84fea648087e2b09b7ed80d0aaa93c3d6984cc99 (patch) | |
tree | 2ec787c45580406a84e2cc6611416798c12414f1 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | f36dd3cc76a170009dce38c73371dc18bbaa7231 (diff) |
NetworkStats: Avoid Division By 0
RawBytes should always be at least 1 to avoid division by 0 and
ArithmeticException resulting in Settings crash.
Bug: 197292638
Change-Id: I4e5ac9da7adf707d7f991483555ab5c6d0cc3245
Merged-In: I4e5ac9da7adf707d7f991483555ab5c6d0cc3245
(cherry picked from commit 49fb7e6da2ba08ead42d625b1aafa41a06fa45c2)
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions