Этот коммит содержится в:
Anton Tananaev
2016-10-02 11:40:15 +13:00
родитель 6c29113278
Коммит 255598b7e8
+1 -1
Просмотреть файл
@@ -55,7 +55,7 @@ public abstract class PositionProvider {
locationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); locationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
deviceId = preferences.getString(MainActivity.KEY_DEVICE, null); deviceId = preferences.getString(MainActivity.KEY_DEVICE, null);
period = Integer.parseInt(preferences.getString(MainActivity.KEY_INTERVAL, null)) * 1000; period = Long.parseLong(preferences.getString(MainActivity.KEY_INTERVAL, null)) * 1000;
type = preferences.getString(MainActivity.KEY_PROVIDER, "gps"); type = preferences.getString(MainActivity.KEY_PROVIDER, "gps");
} }