Fixing call to HandlerThread.quit() which only exists in API level 5+.

This commit is contained in:
Rodrigo Damazio
2010-09-27 14:54:36 -03:00
parent 248b8fb4fd
commit dc07bcf0fa
@@ -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.