Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/HostListActivity.java @ 112:77ac18bc1b2f
cleanup java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 18 Jun 2014 13:03:01 -0700 |
parents | 9925ea1aa279 |
children | 265a4733edcb |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/HostListActivity.java Wed Jun 18 13:00:19 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/HostListActivity.java Wed Jun 18 13:03:01 2014 -0700 @@ -178,13 +178,14 @@ } makingShortcut = Intent.ACTION_CREATE_SHORTCUT.equals(getIntent().getAction()) - || Intent.ACTION_PICK.equals(getIntent().getAction()); + || Intent.ACTION_PICK.equals(getIntent().getAction()); // connect with hosts database and populate list hostdb = new HostDatabase(this); updateList(); sortedByColor = prefs.getBoolean(PreferenceConstants.SORT_BY_COLOR, false); registerForContextMenu(getListView()); getListView().setOnItemClickListener(new OnItemClickListener() { + public synchronized void onItemClick(AdapterView<?> parent, View view, int position, long id) { // launch off to console details HostBean host = (HostBean) getListView().getItemAtPosition(position);