forked from upstream-mirrors/OpenTracks
Fixing call to HandlerThread.quit() which only exists in API level 5+.
This commit is contained in:
@@ -395,17 +395,6 @@ public class MyTracksMap extends MapActivity
|
||||
mapView.setBuiltInZoomControls(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
// Final cleanup before activity is destroyed.
|
||||
// May not be called at all in some situations.
|
||||
Log.d(MyTracksConstants.TAG, "MyTracksMap.onDestroy");
|
||||
|
||||
updateTrackThread.quit();
|
||||
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStart() {
|
||||
// Called after onCreate or onStop.
|
||||
|
||||
Reference in New Issue
Block a user