Merge "Framework: Restrict warning message" am: 1c4a22fb08

am: dce76b96f8

Change-Id: I6a2c63c617235ca78618384d53130265af4c9385
This commit is contained in:
android-build-prod (mdb)
2018-05-03 10:32:16 -07:00
committed by android-build-merger

View File

@@ -7854,8 +7854,13 @@ public class ActivityManagerService extends IActivityManager.Stub
try {
mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi));
} catch (InstallerException e) {
Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" +
e.getMessage() +")");
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 + " (" +
e.getMessage() +")");
}
}
completedIsas.add(instructionSet);
}