if (conflict) {
PatchManager.getInstance().checkEnv(AppInstrumentation.class);
}
mInitialApplication = ActivityThread.mInitialApplication.get(mainThread);
} catch (Exception e) {
<BUG>if (!mInstrumentation.onException(app, e)) {
</BUG>
throw new RuntimeException(
<BUG>"Unable to create application " + app.getClass().getName()
</BUG>
+ ": " + e.toString(), e);

if (conflict) {
PatchManager.getInstance().checkEnv(AppInstrumentation.class);
}
mInitialApplication = ActivityThread.mInitialApplication.get(mainThread);
} catch (Exception e) {
if (!mInstrumentation.onException(mInitialApplication, e)) {
throw new RuntimeException(
"Unable to create application " + mInitialApplication.getClass().getName()
