trivial cleanup

This commit is contained in:
Eric House 2011-07-15 18:09:40 -07:00
parent 8ba7861a7c
commit aec3400677

View file

@ -204,8 +204,7 @@ public class GamesList extends XWListActivity
m_handler = new Handler(); m_handler = new Handler();
setContentView(R.layout.game_list); setContentView(R.layout.game_list);
ListView listView = getListView(); registerForContextMenu( getListView() );
registerForContextMenu( listView );
boolean isUpgrade = FirstRunDialog.show( this, false ); boolean isUpgrade = FirstRunDialog.show( this, false );
PreferenceManager.setDefaultValues( this, R.xml.xwprefs, isUpgrade ); PreferenceManager.setDefaultValues( this, R.xml.xwprefs, isUpgrade );