diff options
| -rw-r--r-- | services/core/java/com/android/server/am/ActivityManagerService.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 7cfc8af600df..7da3adb684a2 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -7290,8 +7290,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); } |