Merge branch 'fix-approx-loc' of s416084/find-my-tutor-android into develop
This commit is contained in:
commit
fc4f49c3e0
@ -10,7 +10,7 @@ android {
|
||||
applicationId "com.uam.wmi.findmytutor"
|
||||
minSdkVersion 22
|
||||
targetSdkVersion 27
|
||||
versionCode 8
|
||||
versionCode 12
|
||||
versionName "0.9.1-alpha"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
Binary file not shown.
@ -344,6 +344,9 @@ public class BackgroundLocalizationService extends Service {
|
||||
locationLevel
|
||||
);
|
||||
|
||||
Log.e(TAG, String.valueOf(coordinate));
|
||||
|
||||
|
||||
disposable.add(
|
||||
coordinateService
|
||||
.postCoordinate(coordinate)
|
||||
@ -365,6 +368,7 @@ public class BackgroundLocalizationService extends Service {
|
||||
if (e instanceof HttpException) {
|
||||
ResponseBody responseBody = ((HttpException) e).response().errorBody();
|
||||
Log.e("CoordinateService onError", RestApiHelper.getErrorMessage(responseBody));
|
||||
Log.e("CoordinateService onError", e.toString());
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -7,8 +7,7 @@ public class Consts {
|
||||
public final static Integer searchMapZoom = 13;
|
||||
public final static Double presenceLatitude = 52.466365;
|
||||
public final static Double presenceLongitude = 16.926792;
|
||||
public final static String presenceApproximatedName = "unknown";
|
||||
public final static String presenceApproximatedName = "Unknown";
|
||||
public final static Range<Double> latitudeRange = Range.create(52.466709, 52.467007);
|
||||
public final static Range<Double> longtitudeRange = Range.create(16.926159, 16.926976);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user