From 538421c7ddd19c1e1d9db5746e259555eeb72f3f Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Fri, 11 Nov 2011 21:01:24 +0100 Subject: [PATCH] location: add (empty) smartbeaconing prefs --- res/xml/location_smartbeaconing.xml | 9 +++++++++ src/location/LocationSource.scala | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 res/xml/location_smartbeaconing.xml 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 }