Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f13e473e authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Framework: Restrict warning message

Only print the message of the cache wasn't pruned.

Bug: 26978865
Test: manual
Change-Id: I564ecddf6c8fafcc9699ec6bfbd622214edf79c8
parent 59e139a7
Loading
Loading
Loading
Loading
+7 −2
Original line number Original line Diff line number Diff line
@@ -7290,9 +7290,14 @@ public class ActivityManagerService extends IActivityManager.Stub
                try {
                try {
                    mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi));
                    mInstaller.markBootComplete(VMRuntime.getInstructionSet(abi));
                } catch (InstallerException e) {
                } catch (InstallerException e) {
                    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 + " (" +
                        Slog.w(TAG, "Unable to mark boot complete for abi: " + abi + " (" +
                                e.getMessage() +")");
                                e.getMessage() +")");
                    }
                    }
                }
                completedIsas.add(instructionSet);
                completedIsas.add(instructionSet);
            }
            }
        }
        }