Merge "Fix crash when loading resources without code" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-15 16:33:20 +00:00
committed by Android (Google) Code Review

View File

@@ -700,7 +700,7 @@ public final class LoadedApk {
librarySearchPath, libraryPermittedPath, mBaseClassLoader,
null /* classLoaderName */);
StrictMode.setThreadPolicy(oldPolicy);
mAppComponentFactory = createAppFactory(mApplicationInfo, mClassLoader);
mAppComponentFactory = AppComponentFactory.DEFAULT;
}
return;