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

Commit 09a526fa authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

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

parents 4df6c629 e57922cc
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();