mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-10 05:03:06 +02:00
Remove clearTrackDataHub in MyTracksApplication.java
This commit is contained in:
@@ -249,7 +249,6 @@ public class MyTracks extends TabActivity implements OnTouchListener {
|
|||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
Log.d(TAG, "MyTracks.onDestroy");
|
Log.d(TAG, "MyTracks.onDestroy");
|
||||||
serviceConnection.unbind();
|
serviceConnection.unbind();
|
||||||
((MyTracksApplication) getApplication()).clearTrackDataHub();
|
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,4 @@ public class MyTracksApplication extends Application {
|
|||||||
}
|
}
|
||||||
return trackDataHub;
|
return trackDataHub;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearTrackDataHub() {
|
|
||||||
trackDataHub = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user