NetMirror.apk
Download file
package androidx.core.app;
import android.app.AppOpsManager;
import android.content.Context;
import android.os.Binder;
import android.os.Build;
/* JADX INFO: loaded from: classes.dex */
public abstract class e {
static class a {
static <T> T a(Context context, Class<T> cls) {
return (T) context.getSystemService(cls);
}
static int b(AppOpsManager appOpsManager, String str, String str2) {
return appOpsManager.noteProxyOp(str, str2);
}
static int c(AppOpsManager appOpsManager, String str, String str2) {
return appOpsManager.noteProxyOpNoThrow(str, str2);
}
static String d(String str) {
return AppOpsManager.permissionToOp(str);
}
}
static class b {
static int a(AppOpsManager appOpsManager, String str, int i3, String str2) {
if (appOpsManager == null) {
return 1;
}
return appOpsManager.checkOpNoThrow(str, i3, str2);
}
static String b(Context context) {
return context.getOpPackageName();
}
static AppOpsManager c(Context context) {
return (AppOpsManager) context.getSystemService(AppOpsManager.class);
}
}
public static int a(Context context, int i3, String str, String str2) {
if (Build.VERSION.SDK_INT < 29) {
return b(context, str, str2);
}
AppOpsManager appOpsManagerC = b.c(context);
int iA = b.a(appOpsManagerC, str, Binder.getCallingUid(), str2);
return iA != 0 ? iA : b.a(appOpsManagerC, str, i3, b.b(context));
}
public static int b(Context context, String str, String str2) {
return a.c((AppOpsManager) a.a(context, AppOpsManager.class), str, str2);
}
public static String c(String str) {
return a.d(str);
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file