package X6FRs_4.IMuAHx_6.Mqv2r_3;

import android.app.AppOpsManager;
import android.content.Context;
import android.os.Build;
/* compiled from: AppOpsManagerCompat.java */
/* loaded from: classes.dex */
public final class QxJ9d_1 {
    public static String KQgRr5e_0(String str) {
        if (Build.VERSION.SDK_INT >= 23) {
            return AppOpsManager.permissionToOp(str);
        }
        return null;
    }

    public static int KQgRr5e_0(Context context, String str, String str2) {
        if (Build.VERSION.SDK_INT >= 23) {
            return ((AppOpsManager) context.getSystemService(AppOpsManager.class)).noteProxyOpNoThrow(str, str2);
        }
        return 1;
    }
}
