diff --git a/app/src/main/java/com/platypii/baseline/views/tracks/TrackListFragment.java b/app/src/main/java/com/platypii/baseline/views/tracks/TrackListFragment.java index 0e8be3185..19f9bb070 100644 --- a/app/src/main/java/com/platypii/baseline/views/tracks/TrackListFragment.java +++ b/app/src/main/java/com/platypii/baseline/views/tracks/TrackListFragment.java @@ -119,6 +119,7 @@ public void onResume() { } private void updateList() { + listAdapter.notifyDataSetChanged(); // Handle no-tracks case final boolean isEmpty = listAdapter.isEmpty(); binding.tracksEmpty.setVisibility(isEmpty ? View.VISIBLE : View.GONE); diff --git a/common/src/main/java/com/platypii/baseline/util/filters/FilterKalman.java b/common/src/main/java/com/platypii/baseline/util/filters/FilterKalman.java index adee50355..4f1051553 100644 --- a/common/src/main/java/com/platypii/baseline/util/filters/FilterKalman.java +++ b/common/src/main/java/com/platypii/baseline/util/filters/FilterKalman.java @@ -46,7 +46,7 @@ private FilterKalman(double sensorVariance, double accelerationVariance) { public void update(double z, double dt) { // Check for input exceptions if (Double.isNaN(z)) { - Log.e(TAG, "Invalid update: z = NaN"); + Log.w(TAG, "Invalid update: z = NaN"); return; } // Ignore invalid time delta