summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author android-build-prod (mdb) <android-build-team-robot@google.com> 2018-05-03 15:31:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-05-03 15:31:18 +0000
commit1c4a22fb083af572dc5c722a4ebf0fac6620705a (patch)
treec02ccfb0e63d48b81027b0105daa96a2fd8d8b73
parent01678299ce846f89936a94fb95cd5844df13268e (diff)
parentf13e473ee1eedc36acf60b0ea9e79e81d1df2a69 (diff)
Merge "Framework: Restrict warning message"
-rw-r--r--services/core/java/com/android/server/am/ActivityManagerService.java9
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);
}