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

Commit 202b17be authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "ActivityThread: Avoid creating duplicate handlers and reuse mH"

This reverts commit 54ec46e0.
parent 85239f72
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -4911,14 +4911,13 @@ public final class ActivityThread {
        Process.setArgV0("<pre-initialized>");

        Looper.prepareMainLooper();
        if (sMainThreadHandler == null) {
            sMainThreadHandler = new Handler();
        }

        ActivityThread thread = new ActivityThread();
        thread.attach(false);

        if (sMainThreadHandler == null) {
            sMainThreadHandler = thread.getHandler();
        }

        AsyncTask.init();

        if (false) {