Fix a bug in FragmentActivity menu panel preparation

Don't require visible menu items to return true from onPreparePanel.
This disrupts ActionProviders that may manipulate menu item visibility
later or other code that otherwise alters item visibility outside of a
full menu invalidation.

Bug 9129862

Change-Id: I56986cc6d46fc6b250ebb8b0b186be99cc705700
diff --git a/v4/java/android/support/v4/app/FragmentActivity.java b/v4/java/android/support/v4/app/FragmentActivity.java
index acb8181..9f111f7 100644
--- a/v4/java/android/support/v4/app/FragmentActivity.java
+++ b/v4/java/android/support/v4/app/FragmentActivity.java
@@ -468,7 +468,7 @@
             }
             boolean goforit = super.onPreparePanel(featureId, view, menu);
             goforit |= mFragments.dispatchPrepareOptionsMenu(menu);
-            return goforit && menu.hasVisibleItems();
+            return goforit;
         }
         return super.onPreparePanel(featureId, view, menu);
     }