CrackMe.apk
Download file
package androidx.core.content;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import androidx.core.util.Preconditions;
public final class IntentCompat {
public static final String ACTION_CREATE_REMINDER = "android.intent.action.CREATE_REMINDER";
public static final String CATEGORY_LEANBACK_LAUNCHER = "android.intent.category.LEANBACK_LAUNCHER";
public static final String EXTRA_HTML_TEXT = "android.intent.extra.HTML_TEXT";
public static final String EXTRA_START_PLAYBACK = "android.intent.extra.START_PLAYBACK";
public static final String EXTRA_TIME = "android.intent.extra.TIME";
private IntentCompat() {
}
public static Intent makeMainSelectorActivity(String str, String str2) {
if (Build.VERSION.SDK_INT >= 15) {
return Intent.makeMainSelectorActivity(str, str2);
}
Intent intent = new Intent(str);
intent.addCategory(str2);
return intent;
}
public static Intent createManageUnusedAppRestrictionsIntent(Context context, String str) {
if (!PackageManagerCompat.areUnusedAppRestrictionsAvailable(context.getPackageManager())) {
throw new UnsupportedOperationException("Unused App Restriction features are not available on this device");
} else if (Build.VERSION.SDK_INT >= 31) {
return new Intent("android.settings.APPLICATION_DETAILS_SETTINGS").setData(Uri.fromParts("package", str, (String) null));
} else {
Intent data = new Intent(PackageManagerCompat.ACTION_PERMISSION_REVOCATION_SETTINGS).setData(Uri.fromParts("package", str, (String) null));
if (Build.VERSION.SDK_INT >= 30) {
return data;
}
return data.setPackage((String) Preconditions.checkNotNull(PackageManagerCompat.getPermissionRevocationVerifierApp(context.getPackageManager())));
}
}
}
Download file