diff --git a/unifiednlp-app/build.gradle b/unifiednlp-app/build.gradle index 9b74c79..d9060c3 100644 --- a/unifiednlp-app/build.gradle +++ b/unifiednlp-app/build.gradle @@ -29,8 +29,8 @@ apply plugin: 'com.android.application' applicationId "org.microg.nlp" applicationId "com.google.android.gms" applicationId "com.google.android.location" -versionName "1.6.5" -versionCode "20160" +versionName "1.6.6" +versionCode "20161" */ String getMyVersionName() { diff --git a/unifiednlp-base/src/main/java/org/microg/nlp/location/BackendHelper.java b/unifiednlp-base/src/main/java/org/microg/nlp/location/BackendHelper.java index 4f1d075..96abcf6 100644 --- a/unifiednlp-base/src/main/java/org/microg/nlp/location/BackendHelper.java +++ b/unifiednlp-base/src/main/java/org/microg/nlp/location/BackendHelper.java @@ -98,7 +98,7 @@ private void setLastLocation(Location location) { if (location.getTime() <= 0) { location.setTime(System.currentTimeMillis()); } - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { updateElapsedRealtimeNanos(location); } Location noGpsLocation = new Location(location);