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

Commit 9fe61d99 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 5167786 - make sure custom option panels still work."

parents 8f668414 4fd8d533
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3145,6 +3145,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {

        public boolean hasPanelItems() {
            if (shownPanelView == null) return false;
            if (createdPanelView != null) return true;

            if (isCompact || isInExpandedMode) {
                return listMenuPresenter.getAdapter().getCount() > 0;