Revert "Don't send the boot_completed in the critical path"
Revert submission 25895284-skip_boot_completed_perf
Reason for revert: Not making a difference in most perf regressions
Reverted changes: /q/submissionid:25895284-skip_boot_completed_perf
Change-Id: I68ee0b06f8bf7548f8b333371a9172b370734d34
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java
index 254d46f..fddb570 100644
--- a/services/core/java/com/android/server/am/ActivityManagerService.java
+++ b/services/core/java/com/android/server/am/ActivityManagerService.java
@@ -4830,11 +4830,7 @@
if (!mConstants.mEnableWaitForFinishAttachApplication) {
finishAttachApplicationInner(startSeq, callingUid, pid);
}
-
- // Temporarily disable sending BOOT_COMPLETED to see if this was impacting perf tests
- if (false) {
- maybeSendBootCompletedLocked(app);
- }
+ maybeSendBootCompletedLocked(app);
} catch (Exception e) {
// We need kill the process group here. (b/148588589)
Slog.wtf(TAG, "Exception thrown during bind of " + app, e);