导航菜单

页面标题

页面副标题

Moneyman v2.316.0.0 - FreshchatNetworkChangeReceiver.java 源代码

正在查看: Moneyman v2.316.0.0 应用的 FreshchatNetworkChangeReceiver.java JAVA 源代码文件

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


package com.freshchat.consumer.sdk.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.freshchat.consumer.sdk.util.aj;
import com.freshchat.consumer.sdk.util.cc;
import com.freshchat.consumer.sdk.util.ck;
import com.freshchat.consumer.sdk.util.co;
import com.freshchat.consumer.sdk.util.db;

public class FreshchatNetworkChangeReceiver extends BroadcastReceiver {
    private boolean c(Intent intent) {
        return intent != null && "android.net.conn.CONNECTIVITY_CHANGE".equals(intent.getAction());
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        co.a("FRESHCHAT", "NetworkChangeReceiver::onReceive() called");
        ck.a("FRESHCHAT", intent);
        try {
            if (c(intent)) {
                cc.g(context, db.cm(context.getApplicationContext()));
            }
        } catch (Exception e4) {
            aj.a(e4);
        }
    }
}