diff options
author | Pavan Kumar M <rpavan@codeaurora.org> | 2019-12-27 16:14:29 +0530 |
---|---|---|
committer | Pavan Kumar M <rpavan@codeaurora.org> | 2020-01-06 11:52:32 +0000 |
commit | 8f5e601bc8cc56b00e85d36d81176f3d9d2d240b (patch) | |
tree | ec108e5faea6009eaabb825baef66b9832307e84 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5ce1a7ea971fca45e958b3529086392b6fb24e26 (diff) |
Handle negative background data usage
Due to periodic statistics recording, total foreground data bytes
may end up being more than total usage bytes for a bucket duration,
which leads to negative background data usage for a UID.
Modify recordUsage to update the data only if background usage
result is not negative.
Tests:
Build, Boot
Data usage related tests
Change-Id: Ia27a1d8e66b911b2137bb456d42c53da7a92dbb4
CRs-Fixed: 2571895
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions