Merge "Framework: Restrict warning message"

This commit is contained in:
android-build-prod (mdb)
2018-05-03 15:31:18 +00:00
committed by Gerrit Code Review

View File

@@ -7290,9 +7290,14 @@ public class ActivityManagerService extends IActivityManager.Stub
try { try {
mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi)); mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi));
} catch (InstallerException e) { } catch (InstallerException e) {
if (!VMRuntime.didPruneDalvikCache()) {
// This is technically not the right filter, as different zygotes may
// have made different pruning decisions. But the log is best effort,
// anyways.
Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" + Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" +
e.getMessage() +")"); e.getMessage() +")");
} }
}
completedIsas.add(instructionSet); completedIsas.add(instructionSet);
} }
} }