导航菜单

页面标题

页面副标题

管控平台 v5.2.3.0. - AlarmReceiver.java 源代码

正在查看: 管控平台 v5.2.3.0. 应用的 AlarmReceiver.java JAVA 源代码文件

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


package com.iflytek.mdmservice.receiver;

import android.app.KeyguardManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.os.Build;
import android.os.PowerManager;
import com.iflytek.mdmcommon.LogUtil;

public class AlarmReceiver extends BroadcastReceiver {
    private void a(Context context) {
        LogUtil.c("BlueBlue", "AlarmReceiver.acquireWakeLock:" + ((KeyguardManager) context.getSystemService("keyguard")).inKeyguardRestrictedInputMode());
        PowerManager powerManager = (PowerManager) context.getSystemService("power");
        boolean isInteractive = Build.VERSION.SDK_INT >= 20 ? powerManager.isInteractive() : powerManager.isScreenOn();
        LogUtil.c("BlueBlue", "AlarmReceiver.acquireWakeLock:isScreenOn=" + isInteractive);
        if (isInteractive) {
            return;
        }
        powerManager.newWakeLock(805306394, context.getClass().getName()).acquire(com.igexin.push.config.c.l);
    }

    @Override
    public void onReceive(android.content.Context r21, android.content.Intent r22) {
        throw new UnsupportedOperationException("Method not decompiled: com.iflytek.mdmservice.receiver.AlarmReceiver.onReceive(android.content.Context, android.content.Intent):void");
    }
}