智能工厂.apk(点击下载) / b.java


package cn.jpush.android.g;

import android.content.Intent;
import android.text.TextUtils;
import cn.asus.push.DataBuffer;
import cn.asus.push.IAIDLCallback;
import cn.jiguang.push.asus.PushMessageReceiver;
import cn.jpush.android.f.c;

public final class b extends IAIDLCallback.Stub {
    @Override // cn.asus.push.IAIDLCallback
    public final void call(DataBuffer dataBuffer) {
        try {
            cn.jpush.android.i.b.a("ClientAIDLCallBack", "[call] data:" + String.valueOf(dataBuffer) + ",cmd:" + dataBuffer.cmd);
            String str = dataBuffer.cmd;
            long j = dataBuffer.bundle.getLong("message_rid", -1);
            String string = dataBuffer.bundle.getString("message_content");
            String b = c.b(c.a);
            if (!TextUtils.isEmpty(b)) {
                ((PushMessageReceiver) Class.forName(b).newInstance()).a(c.a, j, str, string);
                return;
            }
            Intent intent = new Intent();
            dataBuffer.bundle.putString("message_cmd", dataBuffer.cmd);
            intent.putExtras(dataBuffer.bundle);
            intent.setAction("com.ups.push.PUSH_RESPONSE");
            intent.setPackage(c.c);
            c.a.sendBroadcast(intent);
        } catch (Throwable unused) {
        }
    }
}