Settings: moved to Androidx Compat and use one screen only.

This commit is contained in:
Dennis Guse
2019-09-19 18:37:26 +02:00
parent c2841092da
commit c93e5ca1a6
26 changed files with 498 additions and 590 deletions
@@ -2,7 +2,8 @@ package de.dennisguse.opentracks.settings;
import android.bluetooth.BluetoothAdapter;
import android.content.Context;
import android.preference.ListPreference;
import androidx.preference.ListPreference;
import java.util.ArrayList;
import java.util.List;
@@ -183,7 +184,7 @@ final class PreferenceHelper {
/**
* Configures the bluetooth sensor.
*/
static void configBluetoothSensor(ListPreference preference) {
static void configureBluetoothSensorList(ListPreference preference) {
Context context = preference.getContext();
String value = PreferencesUtils.getString(context, R.string.bluetooth_sensor_key, PreferencesUtils.BLUETOOTH_SENSOR_DEFAULT);