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

Commit be3daf69 authored by Chris Banes's avatar Chris Banes Committed by android-build-merger
Browse files

Fix CascadingMenuPopup width if background has padding DO NOT MERGE

am: f9e2c1b3

Change-Id: I1997cde48524dc5c040311f4f9e7824485b55c7d
parents 45950fa3 f9e2c1b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,7 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey
        final int menuWidth = measureIndividualMenuWidth(adapter, null, mContext, mMenuMaxWidth);
        final MenuPopupWindow popupWindow = createPopupWindow();
        popupWindow.setAdapter(adapter);
        popupWindow.setWidth(menuWidth);
        popupWindow.setContentWidth(menuWidth);
        popupWindow.setDropDownGravity(mDropDownGravity);

        final CascadingMenuInfo parentInfo;