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

Commit 712c2686 authored by Michael Jurka's avatar Michael Jurka Committed by Android Git Automerger
Browse files

am 09a526fa: Merge "Fix bug: swiped apps in Recents come back on rotate" into jb-mr1.1-dev

* commit '09a526fa':
  Fix bug: swiped apps in Recents come back on rotate
parents 9e2783ee 09a526fa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -138,6 +138,10 @@ public class RecentTasksLoader implements View.OnTouchListener {
        return mLoadedTasks;
    }

    public void remove(TaskDescription td) {
        mLoadedTasks.remove(td);
    }

    public boolean isFirstScreenful() {
        return mFirstScreenful;
    }
+1 −0
Original line number Diff line number Diff line
@@ -703,6 +703,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
        }
        if (DEBUG) Log.v(TAG, "Jettison " + ad.getLabel());
        mRecentTaskDescriptions.remove(ad);
        mRecentTasksLoader.remove(ad);

        // Handled by widget containers to enable LayoutTransitions properly
        // mListAdapter.notifyDataSetChanged();