use inherited invalidateOptionsMenuIf()

This commit is contained in:
Eric House 2014-05-21 20:08:57 -07:00
parent 0b379a941b
commit 174ee22a4b
4 changed files with 7 additions and 7 deletions

View file

@ -1308,7 +1308,7 @@ public class BoardDelegate extends DelegateBase
m_room = room;
m_missing = nMissing;
showDialog( DlgID.DLG_INVITE );
ABUtils.invalidateOptionsMenuIf( m_activity );
invalidateOptionsMenuIf();
} else {
toastStr = getString( R.string.msg_relay_waiting_fmt, devOrder,
room, nMissing );
@ -1333,7 +1333,7 @@ public class BoardDelegate extends DelegateBase
}
m_missing = nMissing;
ABUtils.invalidateOptionsMenuIf( m_activity );
invalidateOptionsMenuIf();
} // handleConndMessage
private class BoardUtilCtxt extends UtilCtxtImpl {
@ -1822,7 +1822,7 @@ public class BoardDelegate extends DelegateBase
}
m_view.setInTrade( m_inTrade );
adjustTradeVisibility();
ABUtils.invalidateOptionsMenuIf( m_activity );
invalidateOptionsMenuIf();
}
break;
case JNIThread.GOT_WORDS:

View file

@ -814,7 +814,7 @@ public class DictsDelegate extends DelegateBase
} else {
m_selDicts.remove( dictView );
}
ABUtils.invalidateOptionsMenuIf( m_activity );
invalidateOptionsMenuIf();
setTitleBar();
}

View file

@ -506,7 +506,7 @@ public class GamesListDelegate extends ListDelegateBase
m_selGroupIDs.remove( id );
}
}
ABUtils.invalidateOptionsMenuIf( m_activity );
invalidateOptionsMenuIf();
setTitleBar();
}
@ -1198,7 +1198,7 @@ public class GamesListDelegate extends ListDelegateBase
inval = true;
}
if ( inval ) {
ABUtils.invalidateOptionsMenuIf( m_activity );
invalidateOptionsMenuIf();
setTitleBar();
}
}

View file

@ -312,7 +312,7 @@ public class StudyListDelegate extends ListDelegateBase
}
setTitle( newTitle );
ABUtils.invalidateOptionsMenuIf( m_activity );
invalidateOptionsMenuIf();
}
private String[] getSelWords()