Skip to content

Commit

Permalink
Update to v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GrazianoCapelli committed Aug 11, 2019
1 parent 78099f5 commit af81170
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Binary file added apk/GPSLogger-2.2.2.apk
Binary file not shown.
Binary file modified apk/GPSLogger-latest.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ android {
applicationId "eu.basicairdata.graziano.gpslogger"
minSdkVersion 14
targetSdkVersion 27
versionCode 25
versionName '2.2.2b_20190811'
versionCode 26
versionName '2.2.2'
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -744,14 +744,14 @@ public void setGPSLocationUpdates (boolean state) {
mlocManager.removeGpsStatusListener(this);
mlocManager.removeUpdates(this);
isGPSLocationUpdatesActive = false;
Log.w("myApp", "[#] GPSApplication.java - setGPSLocationUpdates = false");
//Log.w("myApp", "[#] GPSApplication.java - setGPSLocationUpdates = false");
}
if (state && !isGPSLocationUpdatesActive
&& (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED)) {
mlocManager.addGpsStatusListener(this);
mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, prefGPSupdatefrequency, 0, this); // Requires Location update
isGPSLocationUpdatesActive = true;
Log.w("myApp", "[#] GPSApplication.java - setGPSLocationUpdates = true");
//Log.w("myApp", "[#] GPSApplication.java - setGPSLocationUpdates = true");
StabilizingSamples = (int) Math.ceil(STABILIZERVALUE / prefGPSupdatefrequency);
}
}
Expand All @@ -760,7 +760,7 @@ public void updateGPSLocationFrequency () {

if (isGPSLocationUpdatesActive
&& (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED)) {
Log.w("myApp", "[#] GPSApplication.java - updateGPSLocationFrequency");
//Log.w("myApp", "[#] GPSApplication.java - updateGPSLocationFrequency");
mlocManager.removeGpsStatusListener(this);
mlocManager.removeUpdates(this);
StabilizingSamples = (int) Math.ceil(STABILIZERVALUE / prefGPSupdatefrequency);
Expand Down Expand Up @@ -796,7 +796,7 @@ public void updateSats() {
} catch (NullPointerException e) {
_NumberOfSatellites = NOT_AVAILABLE;
_NumberOfSatellitesUsedInFix = NOT_AVAILABLE;
Log.w("myApp", "[#] GPSApplication.java - updateSats: Caught NullPointerException: " + e);
//Log.w("myApp", "[#] GPSApplication.java - updateSats: Caught NullPointerException: " + e);
}
//Log.w("myApp", "[#] GPSApplication.java - updateSats: Total=" + _NumberOfSatellites + " Used=" + _NumberOfSatellitesUsedInFix);
}
Expand Down
Binary file added sourcecode/GPSLogger-2.2.2 - Source.zip
Binary file not shown.

0 comments on commit af81170

Please sign in to comment.