Merge "Fix regression with OverlayManagerPerfTest" into sc-dev

This commit is contained in:
Jing Ji
2021-02-02 03:02:27 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -4447,7 +4447,7 @@ public final class ProcessList {
}
app.getPkgList().forEachPackage(packageName -> {
if (updateFrameworkRes && packagesToUpdate.contains(packageName)) {
if (updateFrameworkRes || packagesToUpdate.contains(packageName)) {
try {
final ApplicationInfo ai = AppGlobals.getPackageManager()
.getApplicationInfo(packageName, STOCK_PM_FLAGS, app.userId);

View File

@@ -623,6 +623,8 @@ final class ProcessProfileRecord {
DebugUtils.printSizeValue(pw, mLastCachedSwapPss * 1024);
pw.print(" lastRss=");
DebugUtils.printSizeValue(pw, mLastRss * 1024);
pw.println();
pw.print(prefix);
pw.print(" trimMemoryLevel=");
pw.println(mTrimMemoryLevel);
pw.println();