CrackMe.apk
Download file
package androidx.core.app;
import android.app.Activity;
import android.app.AppComponentFactory;
import android.app.Application;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.ContentProvider;
import android.content.Intent;
public class CoreComponentFactory extends AppComponentFactory {
public interface CompatWrapped {
Object getWrapper();
}
public Activity instantiateActivity(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (Activity) checkCompatWrapper(super.instantiateActivity(classLoader, str, intent));
}
public Application instantiateApplication(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (Application) checkCompatWrapper(super.instantiateApplication(classLoader, str));
}
public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (BroadcastReceiver) checkCompatWrapper(super.instantiateReceiver(classLoader, str, intent));
}
public ContentProvider instantiateProvider(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (ContentProvider) checkCompatWrapper(super.instantiateProvider(classLoader, str));
}
public Service instantiateService(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
return (Service) checkCompatWrapper(super.instantiateService(classLoader, str, intent));
}
/* JADX WARNING: Code restructure failed: missing block: B:2:0x0004, code lost:
r0 = ((androidx.core.app.CoreComponentFactory.CompatWrapped) r1).getWrapper();
*/
/* Code decompiled incorrectly, please refer to instructions dump. */
static <T> T checkCompatWrapper(T r1) {
/*
boolean r0 = r1 instanceof androidx.core.app.CoreComponentFactory.CompatWrapped
if (r0 == 0) goto L_0x000e
r0 = r1
androidx.core.app.CoreComponentFactory$CompatWrapped r0 = (androidx.core.app.CoreComponentFactory.CompatWrapped) r0
java.lang.Object r0 = r0.getWrapper()
if (r0 == 0) goto L_0x000e
return r0
L_0x000e:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.core.app.CoreComponentFactory.checkCompatWrapper(java.lang.Object):java.lang.Object");
}
}
Download file