if tap-to-play is set, remove play-game item from context menu

This commit is contained in:
Andy2 2010-07-13 18:09:43 -07:00
parent 44907a29a6
commit 6cb2638a50

View file

@ -146,6 +146,9 @@ public class GamesList extends ListActivity {
{
MenuInflater inflater = getMenuInflater();
inflater.inflate( R.menu.games_list_item_menu, menu );
if ( CommonPrefs.getClickLaunches( this ) ) {
menu.removeItem( R.id.list_item_play );
}
}
@Override