diff options
| author | 2018-05-15 11:30:09 -0400 | |
|---|---|---|
| committer | 2018-05-15 11:30:09 -0400 | |
| commit | 2544c6917aa747352112b49429ba4d77f36f05cf (patch) | |
| tree | 268bc8934cd2529677888fafa74f320b9c733cd4 | |
| parent | e3125c7e89284914d8402a527e73c888e35360c5 (diff) | |
Fix crash when loading resources without code
Should use default appComponentFactory, not the actual one from the
app because we have no code.
Test: manual
Change-Id: I982967543c4cf5c28b19b36b6d183a30052bf602
Fixes: 78883500
| -rw-r--r-- | core/java/android/app/LoadedApk.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/LoadedApk.java b/core/java/android/app/LoadedApk.java index ca3257f24207..9db642bb18a3 100644 --- a/core/java/android/app/LoadedApk.java +++ b/core/java/android/app/LoadedApk.java @@ -700,7 +700,7 @@ public final class LoadedApk { librarySearchPath, libraryPermittedPath, mBaseClassLoader, null /* classLoaderName */); StrictMode.setThreadPolicy(oldPolicy); - mAppComponentFactory = createAppFactory(mApplicationInfo, mClassLoader); + mAppComponentFactory = AppComponentFactory.DEFAULT; } return; |