public static boolean a = true;
private long i = 0L;
  private ImageView j;
protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903161);
    this.i = System.currentTimeMillis();
    this.j = ((ImageView)findViewById(2131099877));
    Ana.a(this.g, "Launch", "");
    new Is(this).start();
    startService(new Intent(this, GetNotificationsService.class));
    l.a(this.g);
    l.a();
    NetworkInfo localNetworkInfo = ((ConnectivityManager)getSystemService("connectivity")).getActiveNetworkInfo();
    int i1;
    label109: int i2;
    if ((localNetworkInfo == null) || (!localNetworkInfo.isConnected()))
    {
      i1 = 0;
      if (i1 == 0)
        break label428;
      if ("WIFI".equals(j.a(this.g)))
        break label409;
      if (j.Q(this.g))
        break label402;
      new AlertDialog.Builder(this).setTitle(2131230812).setMessage(2131231092).setPositiveButton(2131230734, new jd(this)).setNegativeButton(2131231093, new jc(this)).show();
      label187: new StringBuilder("connection type is ").append(j.a(this.g)).toString();
      label210: if ((!j.b(this.g, 1)) || (!j.ag(this.g)))
        break label467;
      i2 = 1;
      if (i2 != 0)
      {
        label234: String str1 = j.ah(this.g);
        String str2 = j.ai(this.g);
        if (!TextUtils.isEmpty(str1))
        {
          bb localbb = new bb(this.g, new ix(this, str1, str2));
          String[] arrayOfString2 = new String[2];
          arrayOfString2[0] = str1;
          arrayOfString2[1] = str2;
          localbb.execute(arrayOfString2);
        }
      }
      r.a();
      if (!r.i(this.g))
        break label473;
      r.a();
      if (!r.j(this.g))
        break label473;
    }
    for (int i3 = 1; ; i3 = 0)
    {
      if (i3 != 0)
      {
        bf localbf = new bf(this.g, this.m, false);
        String[] arrayOfString1 = new String[1];
        arrayOfString1[0] = j.w(this.g);
        localbf.execute(arrayOfString1);
      }
      return;
      i1 = 1;
      break label109:
      label402: a();
      break label187:
      label409: j.a(this.g, false);
      q.a(false);
      a();
      break label187:
      label428: new AlertDialog.Builder(this).setCancelable(false).setMessage(2131231068).setPositiveButton(2131230815, new iw(this)).show();
      break label210:
      label467: i2 = 0;
      label473: break label234:
    }
  }