[android] #3907 - Clearing any / all events in memory at the time of Telemetry being disabled

This commit is contained in:
Brad Leege
2016-02-11 18:23:10 -08:00
parent 37d6a470cb
commit 076f29ca30

View File

@@ -193,6 +193,7 @@ public class MapboxEventManager {
} else {
Log.i(TAG, "Shutting Telemetry Down");
// Shut It Down
events.removeAllElements();
context.stopService(new Intent(context, TelemetryService.class));
if (timer != null) {