extra logs

This commit is contained in:
2024-06-05 15:36:53 +02:00
parent 28dee7de99
commit 798ba87e4d

View File

@@ -145,6 +145,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
*/
public void fetchExerciseAsync(Exercise.ExerciseFetchHandler onSuccessfulFetch, Exercise.ExerciseFetchHandler onFailedFetch) {
// For some stupid reason we cannot perform network operations on the main thread.
Log.e("fetchvideo", "video fetched");
// therefore we'll have to do it like this...
new Thread(() -> {
Exercise exercise = ExerciseManager.fetchExerciseFromDatabase();