Merge develop into master #1

Merged
SemvdH merged 297 commits from develop into main 2021-01-06 22:20:51 +00:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit db7d944a41 - Show all commits

View File

@@ -53,6 +53,7 @@ public abstract class Database extends RoomDatabase {
super.onCreate(db);
databaseWriterExecutor.execute(() -> {
// TODO populate our database here
});

View File

@@ -1,5 +1,7 @@
package com.a1.nextlocation.network;
import android.util.Log;
import com.a1.nextlocation.data.Location;
import com.a1.nextlocation.data.Route;
@@ -42,11 +44,11 @@ public enum ApiHandler {
try (Response response = client.newCall(request).execute()) {
if (response.body() != null) {
String responseString = Objects.requireNonNull(response.body()).string();
Log.d(TAG, "getDirections: got response: " + responseString);
}
} catch (IOException e) {
Log.d(TAG, "getDirections: caught exception: " + e.getLocalizedMessage());
}
});