forked from upstream-mirrors/OpenTracks
Cleanup.
This commit is contained in:
@@ -24,7 +24,7 @@ public class IntentDashboardUtils {
|
|||||||
private IntentDashboardUtils() {
|
private IntentDashboardUtils() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean startDashboardPlugin(Context context, long trackId) {
|
public static boolean startDashboard(Context context, long trackId) {
|
||||||
ArrayList<Uri> uris = new ArrayList<>();
|
ArrayList<Uri> uris = new ArrayList<>();
|
||||||
|
|
||||||
uris.add(0, ContentUris.withAppendedId(TracksColumns.CONTENT_URI, trackId));
|
uris.add(0, ContentUris.withAppendedId(TracksColumns.CONTENT_URI, trackId));
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ public class IntentUtils {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IntentDashboardUtils.startDashboardPlugin(context, trackIds[0])) {
|
if (IntentDashboardUtils.startDashboard(context, trackIds[0])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user