summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2018-03-30 21:17:42 +0900
committerRemi NGUYEN VAN <reminv@google.com>2018-03-30 21:45:06 +0900
commit5a89f94096186302e1defc2ecd85356ed80cf777 (patch)
tree880866ad2ec73240b679b499b02c550e8e6c3874 /tools/aapt2/java/JavaClassGenerator.cpp
parent601861fd1cce308320ebe21e47a48e0c9c68de55 (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