@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();
   }
 }
示例#3
0
 @Override
 public void onDestroy() {
   tracker.stopSession();
   super.onDestroy();
 }
示例#4
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   tracker.stopSession();
 }
示例#5
0
 public void stopSession() {
   if (!ContextUtils.isStableBuild(ctx)) {
     return;
   }
   gat.stopSession();
 }