diff options
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java index 291f38c..7ff7b17 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java @@ -120,7 +120,7 @@ public class RecentsActivity extends Activity { if (mRecentsPanel != null) { final SystemUIApplication app = (SystemUIApplication) getApplication(); final RecentTasksLoader recentTasksLoader = app.getRecentTasksLoader(); - TaskDescription firstTask = recentTasksLoader.getFirstTask(); + TaskDescription firstTask = mRecentsPanel.getBottomTask(); if (firstTask != null && mRecentsPanel.simulateClick(firstTask)) { // recents panel will take care of calling show(false); return; |