From aec34006772398b5ae6c5f6fc56f46b29b8a5d8c Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 15 Jul 2011 18:09:40 -0700 Subject: [PATCH] trivial cleanup --- .../android/XWords4/src/org/eehouse/android/xw4/GamesList.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ee64b89fc..18c063d69 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java @@ -204,8 +204,7 @@ public class GamesList extends XWListActivity m_handler = new Handler(); setContentView(R.layout.game_list); - ListView listView = getListView(); - registerForContextMenu( listView ); + registerForContextMenu( getListView() ); boolean isUpgrade = FirstRunDialog.show( this, false ); PreferenceManager.setDefaultValues( this, R.xml.xwprefs, isUpgrade );