aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-26 02:35:53 +0200
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-26 02:35:53 +0200
commit08ed15bff80e5a09548e74c9a4194280c6be8025 (patch)
treec26d408cfda844fcfe49938e1e954c6113bbba0e
parent79add8afa37d4e125a0eec577a1f3e10f92b2a07 (diff)
downloadBlueGPS-08ed15bff80e5a09548e74c9a4194280c6be8025.zip
BlueGPS-08ed15bff80e5a09548e74c9a4194280c6be8025.tar.gz
BlueGPS-08ed15bff80e5a09548e74c9a4194280c6be8025.tar.bz2
Remove unused preferences and associated code
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/pref.xml17
-rw-r--r--src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java2
3 files changed, 0 insertions, 21 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 734b643..2b5eb41 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -46,8 +46,6 @@
<string name="pref_replace_std_gps_key">replaceStdtGps</string>
<string name="pref_mock_gps_name_key">mockGpsName</string>
<string name="pref_recording_key">trackRecording</string>
- <string name="pref_mindistance_key">trackMinDistance</string>
- <string name="pref_mintime_key">trackMinTime</string>
<string name="pref_trackfile_directory_key">trackFileDirectory</string>
<string name="pref_trackfile_prefix_key">trackFilePrefix</string>
<string name="pref_bluetooth_device_key">bluetoothDevice</string>
diff --git a/res/xml/pref.xml b/res/xml/pref.xml
index 103a8cb..1bede1a 100644
--- a/res/xml/pref.xml
+++ b/res/xml/pref.xml
@@ -54,23 +54,6 @@
android:defaultValue="@string/defaultMockGpsName"
android:summary="@string/pref_mock_gps_name_summary" />
</PreferenceScreen>
- <PreferenceScreen
- android:title="@string/pref_start_gps_params_title"
- android:shouldDisableView = "true"
- android:enabled="false" >
- <EditTextPreference
- android:key="@string/pref_mintime_key"
- android:title="@string/pref_mintime_title"
- android:defaultValue="@string/defaultTrackMinTime"
- android:summary="@string/pref_mintime_summary"
- android:inputType="number" />
- <EditTextPreference
- android:key="@string/pref_mindistance_key"
- android:title="@string/pref_mindistance_title"
- android:defaultValue="@string/defaultTrackMinDistance"
- android:inputType="numberDecimal"
- android:summary="@string/pref_mindistance_summary" />
- </PreferenceScreen>
<CheckBoxPreference
android:enabled="true"
android:key="@string/pref_recording_key"
diff --git a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
index 3fc43e9..8e13ef9 100644
--- a/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
+++ b/src/org/broeuschmeul/android/gps/bluetooth/provider/BluetoothGpsProviderService.java
@@ -65,8 +65,6 @@ public class BluetoothGpsProviderService extends Service implements NmeaListener
public static final String PREF_REPLACE_STD_GPS = "replaceStdtGps";
public static final String PREF_MOCK_GPS_NAME = "mockGpsName";
public static final String PREF_TRACK_RECORDING = "trackRecording";
- public static final String PREF_TRACK_MIN_DISTANCE = "trackMinDistance";
- public static final String PREF_TRACK_MIN_TIME = "trackMinTime";
public static final String PREF_TRACK_FILE_DIR = "trackFileDirectory";
public static final String PREF_TRACK_FILE_PREFIX = "trackFilePrefix";
public static final String PREF_BLUETOOTH_DEVICE = "bluetoothDevice";