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

Commit 54790a31 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Merge "Launch recents from main thread" into qt-r1-dev

am: 671ff72e

Change-Id: I9eb1e6fb6e2786b30f1d200cb860c673d0598249
parents d4121bba 671ff72e
Loading
Loading
Loading
Loading
+15 −21
Original line number Diff line number Diff line
@@ -307,11 +307,7 @@ public class ActivityManagerWrapper {
        }
        final ActivityOptions finalOptions = options;

        // Execute this from another thread such that we can do other things (like caching the
        // bitmap for the thumbnail) while AM is busy starting our activity.
        mBackgroundExecutor.submit(new Runnable() {
            @Override
            public void run() {

        boolean result = false;
        try {
            result = startActivityFromRecents(taskKey.id, finalOptions);
@@ -328,8 +324,6 @@ public class ActivityManagerWrapper {
            });
        }
    }
        });
    }

    /**
     * Starts a task from Recents synchronously.