Merge "Check mIncludeCode before building appComponentFactory"
This commit is contained in:
committed by
Android (Google) Code Review
commit
71e50f5199
@@ -251,7 +251,7 @@ public final class LoadedApk {
|
||||
}
|
||||
|
||||
private AppComponentFactory createAppFactory(ApplicationInfo appInfo, ClassLoader cl) {
|
||||
if (appInfo.appComponentFactory != null && cl != null) {
|
||||
if (mIncludeCode && appInfo.appComponentFactory != null && cl != null) {
|
||||
try {
|
||||
return (AppComponentFactory)
|
||||
cl.loadClass(appInfo.appComponentFactory).newInstance();
|
||||
|
||||
Reference in New Issue
Block a user