mirror of
https://github.com/russok/FitoTrack.git
synced 2025-10-28 16:22:12 -07:00
Hotfix: #16 Crash on Android 7
This commit is contained in:
parent
fcecaba8ed
commit
733917e4b6
@ -30,7 +30,7 @@ allprojects {
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion 28
|
||||||
buildToolsVersion "29.0.1"
|
buildToolsVersion "29.0.2"
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "de.tadris.fitness"
|
applicationId "de.tadris.fitness"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
|
|||||||
@ -306,7 +306,7 @@ public class RecordWorkoutActivity extends FitoTrackActivity implements Location
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onGPSStateChanged(WorkoutRecorder.GpsState oldState, WorkoutRecorder.GpsState state) {
|
public void onGPSStateChanged(WorkoutRecorder.GpsState oldState, WorkoutRecorder.GpsState state) {
|
||||||
gpsStatusView.setTextColor(state.color);
|
mHandler.post(() -> gpsStatusView.setTextColor(state.color));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class InfoViewHolder{
|
public static class InfoViewHolder{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user