Framework: Restrict warning message
Only print the message of the cache wasn't pruned. Bug: 26978865 Test: manual Change-Id: I564ecddf6c8fafcc9699ec6bfbd622214edf79c8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user