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

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

Merge "Fix bug 5198868 - Showing previous hidden options menu doesn't work"

parents 76a05fef 04dc06f5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1057,9 +1057,8 @@ public class MenuBuilder implements Menu {
                    mNonActionItems.add(item);
                }
            }
        } else if (mActionItems.size() + mNonActionItems.size() != getVisibleItems().size()) {
            // Nobody flagged anything, but if something doesn't add up then treat everything
            // as non-action items.
        } else {
            // Nobody flagged anything, everything is a non-action item.
            // (This happens during a first pass with no action-item presenters.)
            mActionItems.clear();
            mNonActionItems.clear();