@@ -53,7 +53,6 @@ public class SearchHelper {
5353
5454 public static final String ANDROID_NS = "http://schemas.android.com/apk/res/android" ;
5555 public static final String APP_NS = "http://schemas.android.com/apk/res-auto" ;
56- public static final String LOCATION = "http://schemas.android.com/apk/location" ;
5756
5857 public static void getAllMods (Context context , boolean force ) {
5958 if (force ) {
@@ -419,16 +418,16 @@ private static void parsePrefXml(Context context, int xmlResId, String catPrefsF
419418 modData .title = getModTitle (res , xml .getAttributeValue (ANDROID_NS , "title" ));
420419 boolean isPreferenceVisible = Boolean .parseBoolean (xml .getAttributeValue (APP_NS , "isPreferenceVisible" ));
421420 if (locationHyper == null ) {
422- locationHyper = getModTitle (res , xml .getAttributeValue (LOCATION , "myLocationHyper" ));
423- locationHyperId = getModId (xml .getAttributeValue (LOCATION , "myLocationHyper" ));
421+ locationHyper = getModTitle (res , xml .getAttributeValue (APP_NS , "myLocationHyper" ));
422+ locationHyperId = getModId (xml .getAttributeValue (APP_NS , "myLocationHyper" ));
424423 }
425424 if (locationPad == null ) {
426- locationPad = getModTitle (res , xml .getAttributeValue (LOCATION , "myLocationPad" ));
427- locationPadId = getModId (xml .getAttributeValue (LOCATION , "myLocationPad" ));
425+ locationPad = getModTitle (res , xml .getAttributeValue (APP_NS , "myLocationPad" ));
426+ locationPadId = getModId (xml .getAttributeValue (APP_NS , "myLocationPad" ));
428427 }
429428 if (location == null ) {
430- location = getModTitle (res , xml .getAttributeValue (LOCATION , "myLocation" ));
431- locationId = getModId (xml .getAttributeValue (LOCATION , "myLocation" ));
429+ location = getModTitle (res , xml .getAttributeValue (APP_NS , "myLocation" ));
430+ locationId = getModId (xml .getAttributeValue (APP_NS , "myLocation" ));
432431 }
433432 if (!TextUtils .isEmpty (modData .title ) && !isPreferenceVisible ) {
434433 String internalHyper = internalName == null ? locationHyper : internalName + "/" + locationHyper ;
0 commit comments