title: Submenu in actionbar not working after supportInvalidateOptionsMenu is called
body: <p>I have an activity that extends the ActionBarActivity that's included in the support package revision 18. I have a menu item that contains a submenu and it works fine when I load up the app. However, if I call supportInvalidateOptionsMenu() for some reason the submenu doesn't pop up any more. The related code would be the xml for the menu</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:myapp="http://schemas.android.com/apk/res-auto" &gt;
  
  &lt;item
      android:id="@+id/menu_search"
      android:icon="@drawable/ic_search"
      android:title="@string/menu_search"
      myapp:actionViewClass="android.support.v7.widget.SearchView"
      myapp:showAsAction="always|collapseActionView"/&gt;
  &lt;item
      android:id="@+id/menu_now_playing"
      android:icon="@drawable/ic_nowplaying"
      android:title="@string/menu_nowplaying"
      myapp:showAsAction="always"/&gt;
  &lt;item
      android:id="@+id/menu_station_overflow"
      android:icon="@drawable/ic_overflow"
      android:title="@string/more"
      myapp:showAsAction="always"&gt;
      &lt;menu&gt;
          &lt;item
              android:id="@+id/menu_favorite"
              android:icon="@drawable/ic_favorite"
              android:title="@string/favorite"/&gt;
      &lt;/menu&gt;
  &lt;/item&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>And then the code to create the menu</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      MenuInflater inflater = getMenuInflater();
      inflater.inflate(R.menu.main_activity, menu);
      return super.onCreateOptionsMenu(menu);
  }
  </code></pre>
  
  <p>I should note that this problem occurs on Gingerbread devices but there are no problems on android 4.x. Does anyone have any idea what might be going on here?</p>