导航菜单

页面标题

页面副标题

Tasker v6.5.11 - ReceiverStaticRunTasks.java 源代码

正在查看: Tasker v6.5.11 应用的 ReceiverStaticRunTasks.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package net.dinglisch.android.taskerm;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

public class ReceiverStaticRunTasks extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        if (action == null) {
            r7.G("ReceiverStaticRunTasks", "received null action");
            return;
        }
        if (!action.equals("net.dinglisch.android.tasker.ACTION_TASK")) {
            r7.k("ReceiverStaticRunTasks", "action code unhandled:" + action);
            return;
        }
        Bundle extras = intent.getExtras();
        if (extras == null) {
            r7.k("ReceiverStaticRunTasks", "no intent extras");
            return;
        }
        Intent intent2 = new Intent(context, (Class<?>) MonitorService.class);
        intent2.putExtra("eventType", 9989);
        intent2.putExtra("eventExt", extras);
        intent2.putExtra("TaskerIntentIntentExtra", intent);
        MonitorService.J6(context, intent2);
    }
}