diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2018-04-02 15:48:19 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2018-04-02 17:44:23 +0900 |
commit | bed7b970e731ce7c5e91f1ec8e11a042ece72233 (patch) | |
tree | 00f5472fdb75b17f0ede257caf41e0982d4bb3aa /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5a89f94096186302e1defc2ecd85356ed80cf777 (diff) |
Calculate multipath quota excluding current day.
The current calculation includes data usage for the current day,
which causes the returned daily quota to change during the day.
This makes it difficult to use for callers that need a fixed
data limit for the day.
Current usage in MultipathPolicyTracker (the only caller) is
incorrect because of this, as it assumes that quota is not constantly
changing.
Test: Tests in go/ag/3803612 pass
Bug: b/72631572
Bug: b/72877610
Change-Id: I9b3edde2dee7c7479d428e2bf2b73297afed3e6b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions