summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Tyler Wear <twear@quicinc.com> 2021-08-26 10:06:28 -0700
committer Tyler Wear <twear@quicinc.com> 2021-08-26 10:06:28 -0700
commitaeaa9cf5893b9ea73732f0dc7e0ba8d14a29aa7b (patch)
tree60807dc786f165d6137c8064a23a6decdf4e59ac /libs/androidfw/AssetManager.cpp
parent98d3db878a37ea8b3f609bdbc7e3e4c43ee1f7ec (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
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions