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

Commit 45eed3c6 authored by Michael Jurka's avatar Michael Jurka
Browse files

Fix bug where thumbnails in Recents disappear

Bug: 7900353
Bug: 8752242
Bug: 7382208
parent 55a08c5a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -286,6 +286,10 @@ public class RecentTasksLoader implements View.OnTouchListener {


    private void cancelLoadingThumbnailsAndIcons() {
        if (mRecentsPanel != null && mRecentsPanel.isShowing()) {
            return;
        }

        if (mTaskLoader != null) {
            mTaskLoader.cancel(false);
            mTaskLoader = null;
+3 −0
Original line number Diff line number Diff line
@@ -127,6 +127,9 @@ public class RecentsActivity extends Activity {
        }
        mShowing = true;
        if (mRecentsPanel != null) {
            // Call and refresh the recent tasks list in case we didn't preload tasks
            // or in case we don't get an onNewIntent
            mRecentsPanel.refreshRecentTasksList();
            mRecentsPanel.refreshViews();
        }
        super.onStart();