Removed unused theme.

This commit is contained in:
Dennis Guse
2020-11-21 19:37:46 +01:00
parent a3f4de7d18
commit 14ac29095d
3 changed files with 5 additions and 12 deletions
@@ -4,6 +4,7 @@ import android.content.Context;
import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;
import de.dennisguse.opentracks.R;
@@ -15,6 +16,6 @@ public class MarkerUtils {
}
public static Drawable getDefaultPhoto(@NonNull Context context) {
return context.getResources().getDrawable(ICON_ID);
return ContextCompat.getDrawable(context, ICON_ID);
}
}