kopia lustrzana https://github.com/ge0rg/aprsdroid
location: add (empty) smartbeaconing prefs
rodzic
d3becaac4b
commit
538421c7dd
|
@ -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>
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue