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

Commit d9f1b3d9 authored by Steve Kondik's avatar Steve Kondik Committed by Steve Kondik
Browse files

Revert "Remove unnecessary sleep in ActivityThread."

This reverts commit b96f7c2a.

Change-Id: Ia309179a731d0eea7ba08ac08757338ccf645ce9
parent eb9ff0e0
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -5122,15 +5122,11 @@ public final class ActivityThread {
                                                    UserHandle.myUserId());
            RuntimeInit.setApplicationObject(mAppThread.asBinder());
            final IActivityManager mgr = ActivityManagerNative.getDefault();
            new Thread() {
                public void run() {
            try {
                mgr.attachApplication(mAppThread);
            } catch (RemoteException ex) {
                // Ignore
            }
                }
            }.start();
            // Watch for getting close to heap limit.
            BinderInternal.addGcWatcher(new Runnable() {
                @Override public void run() {