Exemplo n.º 1
0
 if (intent != null && intent.a())
 {
     cn.jpush.android.service.ServiceInterface.a(((d) (intent)).c, 1015, context);
     intent = (l)intent;
     obj = new Intent();
     ((Intent) (obj)).addFlags(0x10000000);
     ((Intent) (obj)).setAction(z[33]);
     ((Intent) (obj)).setDataAndType(Uri.fromFile(new File(((l) (intent)).ah)), z[15]);
     context.startActivity(((Intent) (obj)));
     return;
 }
Exemplo n.º 2
0
 {
     obj1 = intent.getStringExtra(z[2]);
     (new StringBuilder(z[6])).append(((String) (obj1))).toString();
     x.c();
     if (obj1 != null && "1".equals(obj1))
     {
         i = 1;
     } else
     {
         i = 0;
     }
     if (true != i)
     {
         cn.jpush.android.service.ServiceInterface.a(((String) (obj)), 1000, context);
     }
 }
Exemplo n.º 3
0
 {
     (new StringBuilder(z[27])).append(((NetworkInfo) (obj)).toString()).toString();
     x.b();
     if (intent.getBooleanExtra(z[19], false))
     {
         x.b();
         a.b = false;
         ServiceInterface.b(context);
         return;
     }
     if (android.net.NetworkInfo.State.CONNECTED == ((NetworkInfo) (obj)).getState())
     {
         ServiceInterface.f(context);
         x.b();
         a.b = true;
         if (cn.jpush.android.service.DownloadService.a())
         {
             cn.jpush.android.service.DownloadService.a(context);
         }
         if (PushService.r)
         {
             cn.jpush.android.service.ServiceInterface.c(context, 3000);
         }
         if (a != null)
         {
             m.b(context, a);
             return;
         }
     } else
     if (android.net.NetworkInfo.State.DISCONNECTED == ((NetworkInfo) (obj)).getState())
     {
         x.b();
         a.b = false;
         ServiceInterface.b(context);
         return;
     } else
     {
         (new StringBuilder(z[24])).append(((NetworkInfo) (obj)).getState()).append(z[0]).toString();
         x.b();
         return;
     }
 }
Exemplo n.º 4
0
    public void onReceive(Context context, Intent intent)
    {
        Object obj;
        obj = intent.getAction();
        (new StringBuilder(z[26])).append(((String) (obj))).toString();
        x.c();
        break MISSING_BLOCK_LABEL_29;
_L2:
        Object obj1;
        do
        {
            return;
        } while (!cn.jpush.android.a.a(context.getApplicationContext()) || obj == null);
        if (((String) (obj)).equals(z[11]))
        {
            ae.a(context);
            k.d(context);
            if (cn.jpush.android.service.PushService.a())
            {
                cn.jpush.android.service.ServiceInterface.c(context, 500);
                return;
            } else
            {
                x.d();
                return;
            }
        }
        if (!((String) (obj)).equals(z[9]))
        {
            break MISSING_BLOCK_LABEL_253;
        }
        String s = intent.getDataString().replace(z[7], "");
        intent = c.a(context, s);
        cn.jpush.android.service.ServiceInterface.a(context, cn.jpush.android.service.p.a(s));
        String as[];
        try
        {
            if (TextUtils.isEmpty(intent))
            {
                continue; /* Loop/switch isn't completed */
            }
            as = intent.split(",");
            if (as.length <= 0)
            {
                continue; /* Loop/switch isn't completed */
            }
        }
        // Misplaced declaration of an exception variable
        catch (Context context)
        {
            context.getMessage();
            x.f();
            return;
        }
        obj1 = as[0];
        cn.jpush.android.service.ServiceInterface.a(((String) (obj1)), 1002, context);
        Object obj2;
        String s1;
        String s2;
        String s3;
        String s4;
        int i;
        int j;
        if (as.length >= 2)
        {
            obj = as[1];
        } else
        {
            obj = "";
        }
        intent = "";
        if (as.length >= 3)
        {
            intent = as[2];
        }
        x.f();
        if (!((String) (obj)).equals(z[34]) && !cn.jpush.android.util.a.a(context, s, ((String) (obj))))
        {
            x.c();
            cn.jpush.android.service.ServiceInterface.a(((String) (obj1)), 1100, context);
        }
        if (ai.a(intent))
        {
            intent = ((Intent) (obj1));
        }
        m.a(context, intent);
        return;
        if (((String) (obj)).equals(z[41]))
        {
            cn.jpush.android.service.ServiceInterface.a(context, p.b(intent.getDataString().replace(z[7], "")));
            return;
        }
        if (!((String) (obj)).equals(z[21]))
        {
            break; /* Loop/switch isn't completed */
        }
        if (PushService.q && cn.jpush.android.service.PushService.a())
        {
            cn.jpush.android.service.ServiceInterface.c(context);
            return;
        }
        if (true) goto _L2; else goto _L1