Making TrackDataHub an application singleton (using the application context to ensure we don't leak MyTracks).

This commit is contained in:
Rodrigo Damazio
2011-06-01 01:39:51 -03:00
parent 111adc917b
commit 3e773ef94b
3 changed files with 54 additions and 38 deletions
@@ -124,7 +124,7 @@ public class TrackDataHubTest extends AndroidTestCase {
AndroidMock.replay(dataSources);
hub.stop();
hub.destroy();
hub = null;
super.tearDown();
}