summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alan Viverette <alanv@google.com> 2015-12-15 17:16:33 -0500
committer Alan Viverette <alanv@google.com> 2015-12-15 17:16:33 -0500
commitdb08925a8fc1fb336b04aaae9da25ffd2fb5fbb7 (patch)
tree930b135e2c7476396af849f8650ecfa0fa5d2b61
parent4f7b035e34c64d25d4aa9ebc567547f2c2758869 (diff)
Fix build
Change-Id: I3e1708a9e41155b9b00e0365e4392ae66202fdbb
-rw-r--r--core/java/com/android/internal/view/menu/CascadingMenuPopup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/com/android/internal/view/menu/CascadingMenuPopup.java b/core/java/com/android/internal/view/menu/CascadingMenuPopup.java
index 33a19926342b..320de90bbd4d 100644
--- a/core/java/com/android/internal/view/menu/CascadingMenuPopup.java
+++ b/core/java/com/android/internal/view/menu/CascadingMenuPopup.java
@@ -61,9 +61,6 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey
*/
private static final int SUBMENU_TIMEOUT_MS = 200;
- /** List of menus that were added before this popup was shown. */
- private final LinkedList<MenuBuilder> mPendingMenus = new LinkedList<MenuBuilder>;
-
private final Context mContext;
private final int mMenuMaxWidth;
private final int mPopupStyleAttr;
@@ -71,6 +68,9 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey
private final boolean mOverflowOnly;
private final Handler mSubMenuHoverHandler;
+ /** List of menus that were added before this popup was shown. */
+ private final List<MenuBuilder> mPendingMenus = new LinkedList<>();
+
/**
* List of open menus. The first item is the root menu and each
* subsequent item is a direct submenu of the previous item.