Merge "Calculate oldPaths for out of date LoadedApks" into rvc-dev am: c023f4474b am: bd1ad2453d
Change-Id: I2d7a83a15c0fdf3a87f930a67ddb670b3290151d
This commit is contained in:
@@ -2235,7 +2235,9 @@ public final class ActivityThread extends ClientTransactionHandler {
|
||||
LoadedApk packageInfo = ref != null ? ref.get() : null;
|
||||
if (ai != null && packageInfo != null) {
|
||||
if (!isLoadedApkResourceDirsUpToDate(packageInfo, ai)) {
|
||||
packageInfo.updateApplicationInfo(ai, null);
|
||||
List<String> oldPaths = new ArrayList<>();
|
||||
LoadedApk.makePaths(this, ai, oldPaths);
|
||||
packageInfo.updateApplicationInfo(ai, oldPaths);
|
||||
}
|
||||
|
||||
if (packageInfo.isSecurityViolation()
|
||||
@@ -2323,7 +2325,9 @@ public final class ActivityThread extends ClientTransactionHandler {
|
||||
|
||||
if (packageInfo != null) {
|
||||
if (!isLoadedApkResourceDirsUpToDate(packageInfo, aInfo)) {
|
||||
packageInfo.updateApplicationInfo(aInfo, null);
|
||||
List<String> oldPaths = new ArrayList<>();
|
||||
LoadedApk.makePaths(this, aInfo, oldPaths);
|
||||
packageInfo.updateApplicationInfo(aInfo, oldPaths);
|
||||
}
|
||||
|
||||
return packageInfo;
|
||||
|
||||
Reference in New Issue
Block a user