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

Commit b9abcbbd authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Don't send the boot_completed in the critical path

Address app start performance regression

Bug: 318774987
Test: Manual force-stop an app and launch
      Verify performance numbers in crystal-ball appstart perf tests

Change-Id: I38695243617dab4e070b161eed1e12c430f2c9b8
parent 2ecde8de
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -4830,7 +4830,11 @@ public class ActivityManagerService extends IActivityManager.Stub
            if (!mConstants.mEnableWaitForFinishAttachApplication) {
                finishAttachApplicationInner(startSeq, callingUid, pid);
            }
            // Temporarily disable sending BOOT_COMPLETED to see if this was impacting perf tests
            if (false) {
                maybeSendBootCompletedLocked(app);
            }
        } catch (Exception e) {
            // We need kill the process group here. (b/148588589)
            Slog.wtf(TAG, "Exception thrown during bind of " + app, e);