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

Commit 7929e8b0 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android Git Automerger
Browse files

am e74df9eb: am a549218e: Merge "Avoid showing popup when View detatched." into jb-dev

* commit 'e74df9eb':
  Avoid showing popup when View detatched.
parents 75158896 e74df9eb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -237,6 +237,7 @@ public abstract class BaseStatusBar extends SystemUI implements
            public boolean onLongClick(View v) {
                final String packageNameF = (String) v.getTag();
                if (packageNameF == null) return false;
                if (v.getWindowToken() == null) return false;
                PopupMenu popup = new PopupMenu(mContext, v);
                popup.getMenuInflater().inflate(R.menu.notification_popup_menu, popup.getMenu());
                popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {