导航菜单

页面标题

页面副标题

Hyouka private v5.8.9 - NetworkChangeReceiver.java 源代码

正在查看: Hyouka private v5.8.9 应用的 NetworkChangeReceiver.java JAVA 源代码文件

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


package com.beint.project;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import com.beint.project.core.utils.Log;

public class NetworkChangeReceiver extends BroadcastReceiver {
    private static final String TAG = "com.beint.project.NetworkChangeReceiver";

    @Override
    public void onReceive(final Context context, Intent intent) {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                context.sendBroadcast(new Intent("com.google.android.intent.action.GTALK_HEARTBEAT"));
                context.sendBroadcast(new Intent("com.google.android.intent.action.MCS_HEARTBEAT"));
                Log.i(NetworkChangeReceiver.TAG, "GCM HeartBeat sent");
            }
        }, 2000L);
    }
}