From 6cb2638a5035bb7f1be7bb3e70a7c1f8d1ce3ac1 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Tue, 13 Jul 2010 18:09:43 -0700 Subject: [PATCH] if tap-to-play is set, remove play-game item from context menu --- .../android/XWords4/src/org/eehouse/android/xw4/GamesList.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java index d01ec18b6..de30d2ad7 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java @@ -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