protected void doPing(@NotNull String app,@NotNull String version,@Nullable final Map<String,String> extras){
  final String nApp=normalizeAppName(app);
  final String nVersion=normalizeVersion(version);
  if (!mStore.isPingOptIn()) {
    return;
  }
  long now=System.currentTimeMillis();
  long then=mStore.getPingTime(app);
  if (now - then < PING_INTERVAL_MSEC) {
    return;
  }
  mStore.setPingTime(app,now);
  try {
    URL url=createPingUrl(nApp,nVersion,INSTALLATION_ID,extras);
    actuallySendPing(url);
  }
 catch (  Exception e) {
    LOG.warn("AndroidSdk.SendPing failed",e);
  }
}

protected void doPing ( @ NotNull String app , @ NotNull String version , @ Nullable final Map < String , String > extras ) { final String nApp = normalizeAppName ( app ) ; final String nVersion = normalizeVersion ( version ) ; if ( ! mStore . isPingOptIn ( ) ) { return ; } long now = System . currentTimeMillis ( ) ; long then = mStore . getPingTime ( app ) ; if ( now - then < PING_INTERVAL_MSEC ) { return ; } mStore . setPingTime ( app , now ) ; try { URL url = createPingUrl ( nApp , nVersion , INSTALLATION_ID , extras ) ; actuallySendPing ( url ) ; } catch ( Exception e ) { LOG . warn ( "AndroidSdk.SendPing failed" , e ) ; } }
pings the usage stats server , as long as the prefs contain the opt - in boolean
