KeyboardAnalyticsService.java 1.74 KB
package com.bitstrips.imoji.analytics;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.bitstrips.imoji.api.BitmojiApi;
import com.bitstrips.imoji.behaviour.BehaviourHelper;
import com.bitstrips.imoji.experiments.Experiments;
import com.bitstrips.imoji.util.PreferenceUtils;
import javax.inject.Inject;
import javax.inject.Named;

public class KeyboardAnalyticsService
  extends BitstripsAnalyticsService
{
  private final Context d;
  
  @Inject
  public KeyboardAnalyticsService(BitmojiApi paramBitmojiApi, PreferenceUtils paramPreferenceUtils, @Named("persisted") SharedPreferences paramSharedPreferences, Context paramContext, BehaviourHelper paramBehaviourHelper, Experiments paramExperiments)
  {
    super(paramBitmojiApi, paramPreferenceUtils, paramSharedPreferences, paramContext, paramBehaviourHelper, paramExperiments);
    this.d = paramContext;
  }
  
  protected int getAppId()
  {
    return this.d.getResources().getInteger(2131558417);
  }
  
  public void sendEvent(Category paramCategory, Action paramAction)
  {
    super.sendEvent(paramCategory, paramAction);
    reportAllEvents();
  }
  
  public void sendEvent(Category paramCategory, Action paramAction, AnalyticsWrapper paramAnalyticsWrapper)
  {
    super.sendEvent(paramCategory, paramAction, paramAnalyticsWrapper);
    reportAllEvents();
  }
  
  public void sendEvent(Category paramCategory, Action paramAction, String paramString)
  {
    super.sendEvent(paramCategory, paramAction, paramString);
    reportAllEvents();
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/analytics/KeyboardAnalyticsService.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */