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

Commit a6f397cd 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

am: e2e5f119

Change-Id: I76bc96dbbdc14c1bf5f6ecd9e94759876fdf053f
parents 658c88a6 e2e5f119
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.