diff --git a/res/xml/location_smartbeaconing.xml b/res/xml/location_smartbeaconing.xml new file mode 100644 index 0000000..8458285 --- /dev/null +++ b/res/xml/location_smartbeaconing.xml @@ -0,0 +1,9 @@ + + + + + + + diff --git a/src/location/LocationSource.scala b/src/location/LocationSource.scala index 6b9d009..d7b0b2b 100644 --- a/src/location/LocationSource.scala +++ b/src/location/LocationSource.scala @@ -13,7 +13,7 @@ object LocationSource { } def instanciatePrefsAct(prefs : PrefsWrapper) = { prefs.getString("loc_source", DEFAULT_CONNTYPE) match { - case "smartbeaconing" => R.xml.location_periodic + case "smartbeaconing" => R.xml.location_smartbeaconing case "periodic" => R.xml.location_periodic case "manual" => R.xml.location_manual }