69 lines
3.0 KiB
Java
69 lines
3.0 KiB
Java
package o;
|
|
|
|
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;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class oLr extends AppComponentFactory {
|
|
|
|
/* loaded from: classes.dex */
|
|
public interface RVV {
|
|
Object b();
|
|
}
|
|
|
|
@Override // android.app.AppComponentFactory
|
|
public Activity instantiateActivity(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
|
Object b;
|
|
Object instantiateActivity = super.instantiateActivity(classLoader, str, intent);
|
|
if ((instantiateActivity instanceof RVV) && (b = ((RVV) instantiateActivity).b()) != null) {
|
|
instantiateActivity = b;
|
|
}
|
|
return (Activity) instantiateActivity;
|
|
}
|
|
|
|
@Override // android.app.AppComponentFactory
|
|
public Application instantiateApplication(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
|
Object b;
|
|
Object instantiateApplication = super.instantiateApplication(classLoader, str);
|
|
if ((instantiateApplication instanceof RVV) && (b = ((RVV) instantiateApplication).b()) != null) {
|
|
instantiateApplication = b;
|
|
}
|
|
return (Application) instantiateApplication;
|
|
}
|
|
|
|
@Override // android.app.AppComponentFactory
|
|
public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
|
Object b;
|
|
Object instantiateReceiver = super.instantiateReceiver(classLoader, str, intent);
|
|
if ((instantiateReceiver instanceof RVV) && (b = ((RVV) instantiateReceiver).b()) != null) {
|
|
instantiateReceiver = b;
|
|
}
|
|
return (BroadcastReceiver) instantiateReceiver;
|
|
}
|
|
|
|
@Override // android.app.AppComponentFactory
|
|
public ContentProvider instantiateProvider(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
|
Object b;
|
|
Object instantiateProvider = super.instantiateProvider(classLoader, str);
|
|
if ((instantiateProvider instanceof RVV) && (b = ((RVV) instantiateProvider).b()) != null) {
|
|
instantiateProvider = b;
|
|
}
|
|
return (ContentProvider) instantiateProvider;
|
|
}
|
|
|
|
@Override // android.app.AppComponentFactory
|
|
public Service instantiateService(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
|
Object b;
|
|
Object instantiateService = super.instantiateService(classLoader, str, intent);
|
|
if ((instantiateService instanceof RVV) && (b = ((RVV) instantiateService).b()) != null) {
|
|
instantiateService = b;
|
|
}
|
|
return (Service) instantiateService;
|
|
}
|
|
}
|