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

Commit 63e14c10 authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Call notifyStartupCompleted from reportFullyDrawn

ART will now know when startup is startup is finished.

Test: manual
Bug: 120671223
Bug: 123377072

Change-Id: I1134f66792bddc9ab33606fa4c2807b3918d5261
parent 83234be1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -139,6 +139,8 @@ import com.android.internal.app.ToolbarActionBar;
import com.android.internal.app.WindowDecorActionBar;
import com.android.internal.policy.PhoneWindow;

import dalvik.system.VMRuntime;

import java.io.FileDescriptor;
import java.io.PrintWriter;
import java.lang.annotation.Retention;
@@ -2491,6 +2493,7 @@ public class Activity extends ContextThemeWrapper
            try {
                ActivityTaskManager.getService().reportActivityFullyDrawn(
                        mToken, mRestoredFromBundle);
                VMRuntime.getRuntime().notifyStartupCompleted();
            } catch (RemoteException e) {
            }
        }