Make FragmentActivity#supportInvalidateOptionsMenu public.
Change-Id: I0c9f3b76d9b7af67ab62bcd0f9c2af8f75e29222
diff --git a/v4/java/android/support/v4/app/FragmentActivity.java b/v4/java/android/support/v4/app/FragmentActivity.java
index 2112fb3..3256296 100644
--- a/v4/java/android/support/v4/app/FragmentActivity.java
+++ b/v4/java/android/support/v4/app/FragmentActivity.java
@@ -560,7 +560,12 @@
return nc != null ? nc.custom : null;
}
- void supportInvalidateOptionsMenu() {
+ /**
+ * Invalidate the activity's options menu. This will cause relevant presentations
+ * of the menu to fully update via calls to onCreateOptionsMenu and
+ * onPrepareOptionsMenu the next time the menu is requested.
+ */
+ public void supportInvalidateOptionsMenu() {
if (android.os.Build.VERSION.SDK_INT >= HONEYCOMB) {
// If we are running on HC or greater, we can use the framework
// API to invalidate the options menu.