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

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

am 540720e1: am 7ed267f5: Fix one case where recents is sometimes not visible

* commit '540720e1':
  Fix one case where recents is sometimes not visible
parents eb512e90 540720e1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -205,4 +205,8 @@ public class RecentsActivity extends Activity {
    boolean isForeground() {
        return mForeground;
    }

    boolean isActivityShowing() {
         return mShowing;
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -579,7 +579,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
        } else {
            mRecentTaskDescriptions.addAll(tasks);
        }
        if (((RecentsActivity)mContext).isForeground()) {
        if (((RecentsActivity) mContext).isActivityShowing()) {
            refreshViews();
        }
    }