attachBaseContext.invoke(realApplication, base);
} catch (Exception e) {
throw new IllegalStateException(e);
}
Thread.setDefaultUncaughtExceptionHandler(
<BUG>LifecycleListener.getInstance().createExceptionHandler(
realApplication,
Thread.getDefaultUncaughtExceptionHandler()));
realApplication.registerActivityLifecycleCallbacks(LifecycleListener.getInstance());
ProtifyLayoutInflater.install(realApplication);</BUG>
ProtifyContext.loadResources(realApplication);

attachBaseContext.invoke(realApplication, base);
} catch (Exception e) {
throw new IllegalStateException(e);
}
Thread.setDefaultUncaughtExceptionHandler(
ExceptionHandler.createExceptionHandler(
realApplication,
Thread.getDefaultUncaughtExceptionHandler()));
if (Build.VERSION.SDK_INT >= 14)
realApplication.registerActivityLifecycleCallbacks(
LifecycleListener.getInstance());
ProtifyLayoutInflater.install(realApplication);
