@Override protected void onDestroy() { super.onDestroy(); // Stop the tracker when it is no longer needed. tracker.stopSession(); }
public static void stop(GoogleAnalyticsTracker tracker) { if (tracker != null) { Log.i(Utils.TAG, "[Analytics] Tracker stopping"); tracker.stopSession(); } }
@Override public void onDestroy() { tracker.stopSession(); super.onDestroy(); }
@Override protected void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); tracker.stopSession(); }
public void stopSession() { if (!ContextUtils.isStableBuild(ctx)) { return; } gat.stopSession(); }