One final pass at unquoted NetworkPolicies.
Correctly shows the metered status of legacy policies in UI. Bug: 7695807 Change-Id: I13c9f4c1716d8457343c41433afac0b5f00e02fe
This commit is contained in:
@@ -119,7 +119,7 @@ public class DataUsageMeteredSettings extends SettingsPreferenceFragment {
|
||||
setPersistent(false);
|
||||
|
||||
mBinding = true;
|
||||
final NetworkPolicy policy = mPolicyEditor.getPolicy(template);
|
||||
final NetworkPolicy policy = mPolicyEditor.getPolicyMaybeUnquoted(template);
|
||||
if (policy != null) {
|
||||
if (policy.limitBytes != LIMIT_DISABLED) {
|
||||
setChecked(true);
|
||||
|
||||
Reference in New Issue
Block a user