commit | 84fea648087e2b09b7ed80d0aaa93c3d6984cc99 | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Wed Sep 01 07:36:14 2021 +0000 |
committer | Aaron Huang <huangaaron@google.com> | Wed Sep 08 04:12:31 2021 +0000 |
tree | 2ec787c45580406a84e2cc6611416798c12414f1 | |
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)