Skip to content

Commit

Permalink
Update to v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GrazianoCapelli committed Jul 11, 2021
2 parents ed6b87d + 86b2b18 commit 44c3fa2
Show file tree
Hide file tree
Showing 8 changed files with 236 additions and 10 deletions.
Binary file added apk/GPSLogger-3.0.2.apk
Binary file not shown.
Binary file modified apk/GPSLogger-latest.apk
Binary file not shown.
15 changes: 9 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/**
/*
* build.gradle
* Created by G.Capelli (BasicAirData) on 8/5/2016
* Created by G.Capelli on 8/5/2016
* This file is part of BasicAirData GPS Logger
*
* Copyright (C) 2011 BasicAirData
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -41,8 +44,8 @@ android {

// -----------------------------------------------------------------------------------------
// We use the Semantic Versioning (https://semver.org/):
versionName '3.0.1'
versionCode 39
versionName '3.0.2'
versionCode 40
// -----------------------------------------------------------------------------------------

vectorDrawables.useSupportLibrary = true
Expand Down Expand Up @@ -75,9 +78,9 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'

implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.preference:preference:1.1.1'
implementation 'com.google.android.material:material:1.3.0'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ActionsBroadcastReceiver extends BroadcastReceiver {
public void onReceive(final Context context, final Intent intent) {
//Log.w("myApp", "[#] EVENT");
String broadcastedAction = intent.getAction();
if (broadcastedAction != null) {
if (broadcastedAction != null) { // https://github.com/BasicAirData/GPSLogger/issues/132
switch (broadcastedAction) {
case Intent.ACTION_SCREEN_OFF:
// Turns off the EventBus Signals of the Recording Thread
Expand All @@ -51,7 +51,9 @@ public void onReceive(final Context context, final Intent intent) {
break;
case Intent.ACTION_SHUTDOWN:
// Gracefully finish to write data and close the Database
GPSApplication.getInstance().onShutdown();
if (GPSApplication.getInstance() != null) { // https://github.com/BasicAirData/GPSLogger/issues/146
GPSApplication.getInstance().onShutdown();
}
break;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ static class ViewHolder {
TextView description;
TextView format;
}
}
}
6 changes: 5 additions & 1 deletion app/src/main/res/layout/appdialog_list_row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginStart="15dp"
android:layout_marginRight="15dp"
android:layout_marginEnd="15dp"
android:ellipsize="end"
android:maxLines="1"
android:layout_weight="1"
android:text="GPS Logger"
android:textColor="@color/textColorPrimary"
Expand All @@ -57,4 +61,4 @@
android:text="GPX"
android:textColor="@color/textColorPrimary"
android:textAppearance="@style/TextAppearance.AppCompat.Small" />
</LinearLayout>
</LinearLayout>
217 changes: 217 additions & 0 deletions app/src/main/res/values-ru/strings.xml

Large diffs are not rendered by default.

Binary file added sourcecode/GPSLogger-3.0.2 - Source.zip
Binary file not shown.

0 comments on commit 44c3fa2

Please sign in to comment.