Loading core/java/android/app/ActivityThread.java +6 −2 Original line number Diff line number Diff line Loading @@ -1656,8 +1656,7 @@ public final class ActivityThread { ref = mResourcePackages.get(aInfo.packageName); } LoadedApk packageInfo = ref != null ? ref.get() : null; if (packageInfo == null || (packageInfo.mResources != null && !packageInfo.mResources.getAssets().isUpToDate())) { if (packageInfo == null) { if (localLOGV) Slog.v(TAG, (includeCode ? "Loading code package " : "Loading resource-only package ") + aInfo.packageName + " (in " + (mBoundApplication != null Loading @@ -1675,6 +1674,11 @@ public final class ActivityThread { new WeakReference<LoadedApk>(packageInfo)); } } if (packageInfo.mResources == null || !packageInfo.mResources.getAssets().isUpToDate()) { packageInfo.mResources = null; packageInfo.getResources(this); } return packageInfo; } } Loading Loading
core/java/android/app/ActivityThread.java +6 −2 Original line number Diff line number Diff line Loading @@ -1656,8 +1656,7 @@ public final class ActivityThread { ref = mResourcePackages.get(aInfo.packageName); } LoadedApk packageInfo = ref != null ? ref.get() : null; if (packageInfo == null || (packageInfo.mResources != null && !packageInfo.mResources.getAssets().isUpToDate())) { if (packageInfo == null) { if (localLOGV) Slog.v(TAG, (includeCode ? "Loading code package " : "Loading resource-only package ") + aInfo.packageName + " (in " + (mBoundApplication != null Loading @@ -1675,6 +1674,11 @@ public final class ActivityThread { new WeakReference<LoadedApk>(packageInfo)); } } if (packageInfo.mResources == null || !packageInfo.mResources.getAssets().isUpToDate()) { packageInfo.mResources = null; packageInfo.getResources(this); } return packageInfo; } } Loading