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

Commit 4fd8d533 authored by Adam Powell's avatar Adam Powell
Browse files

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

Change-Id: Ife3ca80f593c141f680fcc5178687112a538474d
parent 453091b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3145,6 +3145,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {


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


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