Fix minor bug in send to fusion tables.

This commit is contained in:
Sandor Dornbush
2011-04-19 21:04:29 -07:00
parent 124172e4d7
commit 8feb903021
@@ -1158,9 +1158,9 @@ public class MyTracks extends TabActivity implements OnTouchListener,
return false;
}
protected String getFusionTablesUrl(long sendToTrackId2) {
Track track = providerUtils.getTrack(sendToTrackId);
return SendToFusionTables.getMapVisualizationUrl(track);
protected String getFusionTablesUrl(long trackId) {
Track track = providerUtils.getTrack(trackId);
return track == null ? "" : SendToFusionTables.getMapVisualizationUrl(track);
}
/**