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

Commit 816e30d4 authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "/platform/frameworks/base: Fix SystemUI crash on Recent App"

 * Causing even worse behavior.

This reverts commit 92310585.

Change-Id: Ie69107b9e1cf37c98d17900d1abb62ed9c0dfe43
parent 8bd6bf2d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -92,9 +92,6 @@ public class RecentsActivity extends Activity {
                R.anim.recents_return_to_launcher_enter,
                R.anim.recents_return_to_launcher_exit);
        mForeground = false;
        if (mRecentsPanel != null) {
            mRecentsPanel.dismissContextMenuIfAny();
        }
        super.onPause();
    }

+0 −8
Original line number Diff line number Diff line
@@ -300,11 +300,6 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
        }
    }

    public void dismissContextMenuIfAny() {
        if(mPopup != null) {
            mPopup.dismiss();
        }
    }
    public void show(boolean show) {
        show(show, null, false, false);
    }
@@ -792,9 +787,6 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener

    public void handleLongPress(
            final View selectedView, final View anchorView, final View thumbnailView) {
        if(mPopup != null) {
            mPopup.dismiss();
        }
        thumbnailView.setSelected(true);
        final PopupMenu popup =
            new PopupMenu(mContext, anchorView == null ? selectedView : anchorView);