From ac4037a47512e6a8508a06225ee47a7939c84605 Mon Sep 17 00:00:00 2001 From: Nate Jiang Date: Wed, 15 Apr 2020 17:03:01 -0700 Subject: Stop persist numAssociation As we start tp persist most recently connected network for scan optimizition, stop persist numAssociation Bug: 148535554 Test: atest com.android.server.wifi Change-Id: I8a8ec3db42a0a9887e2662c18f930e6be43b6506 --- service/java/com/android/server/wifi/util/XmlUtil.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'service') diff --git a/service/java/com/android/server/wifi/util/XmlUtil.java b/service/java/com/android/server/wifi/util/XmlUtil.java index 1984e4123..eb204e73d 100644 --- a/service/java/com/android/server/wifi/util/XmlUtil.java +++ b/service/java/com/android/server/wifi/util/XmlUtil.java @@ -342,7 +342,6 @@ public class XmlUtil { public static final String XML_TAG_METERED_HINT = "MeteredHint"; public static final String XML_TAG_METERED_OVERRIDE = "MeteredOverride"; public static final String XML_TAG_USE_EXTERNAL_SCORES = "UseExternalScores"; - public static final String XML_TAG_NUM_ASSOCIATION = "NumAssociation"; public static final String XML_TAG_CREATOR_UID = "CreatorUid"; public static final String XML_TAG_CREATOR_NAME = "CreatorName"; public static final String XML_TAG_LAST_UPDATE_UID = "LastUpdateUid"; @@ -504,7 +503,6 @@ public class XmlUtil { XmlUtil.writeNextValue(out, XML_TAG_METERED_OVERRIDE, configuration.meteredOverride); XmlUtil.writeNextValue( out, XML_TAG_USE_EXTERNAL_SCORES, configuration.useExternalScores); - XmlUtil.writeNextValue(out, XML_TAG_NUM_ASSOCIATION, configuration.numAssociation); XmlUtil.writeNextValue(out, XML_TAG_CREATOR_UID, configuration.creatorUid); XmlUtil.writeNextValue(out, XML_TAG_CREATOR_NAME, configuration.creatorName); XmlUtil.writeNextValue(out, XML_TAG_LAST_UPDATE_UID, configuration.lastUpdateUid); @@ -674,9 +672,6 @@ public class XmlUtil { case XML_TAG_USE_EXTERNAL_SCORES: configuration.useExternalScores = (boolean) value; break; - case XML_TAG_NUM_ASSOCIATION: - configuration.numAssociation = (int) value; - break; case XML_TAG_CREATOR_UID: configuration.creatorUid = (int) value; break; -- cgit v1.2.3