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