location: add (empty) smartbeaconing prefs

obj_origin
Georg Lukas 2011-11-11 21:01:24 +01:00
rodzic d3becaac4b
commit 538421c7dd
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="@string/p_source_smart">
</PreferenceCategory>
</PreferenceScreen>

Wyświetl plik

@ -13,7 +13,7 @@ object LocationSource {
} }
def instanciatePrefsAct(prefs : PrefsWrapper) = { def instanciatePrefsAct(prefs : PrefsWrapper) = {
prefs.getString("loc_source", DEFAULT_CONNTYPE) match { 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 "periodic" => R.xml.location_periodic
case "manual" => R.xml.location_manual case "manual" => R.xml.location_manual
} }