diff --git a/res/xml/location_settings.xml b/res/xml/location_settings.xml index 72ea3122eb7..29d4048c22f 100644 --- a/res/xml/location_settings.xml +++ b/res/xml/location_settings.xml @@ -28,7 +28,7 @@ + settings:initialExpandedChildrenCount="2"> sPropertyMaps = new HashMap<>(); + + @Resetter + public static void reset() { + sPropertyMaps.clear(); + } @Implementation - protected static boolean setProperty( - String namespace, String name, String value, boolean makeDefault) { - configValue = value; + public static boolean setProperty( + String namespace, String name, String value, boolean makeDefault) { + sPropertyMaps.put(name, value); return true; } @Implementation - protected static String getProperty(String ns, String key) { return configValue; } + public static String getProperty(String namespace, String name) { + return sPropertyMaps.get(name); + } }