diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2018-03-30 21:17:42 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2018-03-30 21:45:06 +0900 |
commit | 5a89f94096186302e1defc2ecd85356ed80cf777 (patch) | |
tree | 880866ad2ec73240b679b499b02c550e8e6c3874 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 601861fd1cce308320ebe21e47a48e0c9c68de55 (diff) |
Differentiate depleted and unset multipath quota
NetworkPolicyManagerInternalImpl#getSubscriptionOpportunisticQuota
would return 0 both for unset and depleted quota, which cannot be
interpreted properly by MultipathPolicyTracker (the only caller),
to use a fallback policy.
Return OPPORTUNISTIC_QUOTA_UNKNOWN (-1) instead for unknown quota.
Test: verified with CTS tests in ag/3811166
Bug: b/72631572
Bug: b/72877610
Change-Id: Ic087f7bfa9f10cc376b5ccd68a4685bd5242c586
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions