commit | 5a89f94096186302e1defc2ecd85356ed80cf777 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Fri Mar 30 21:17:42 2018 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Fri Mar 30 21:45:06 2018 +0900 |
tree | 880866ad2ec73240b679b499b02c550e8e6c3874 | |
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