aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/connectbot/HostListActivity.java
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2010-05-04 05:33:20 +0000
committerKenny Root <kenny@the-b.org>2010-05-04 05:33:20 +0000
commit5c0b47476a79daeb5f391d4c3750e750e180595e (patch)
tree31ed099f645d91ddbbe4c3c22c103b58aaccaec6 /src/org/connectbot/HostListActivity.java
parent80bd9c58326111362baf6cb055564c9b57fcf238 (diff)
downloadconnectbot-5c0b47476a79daeb5f391d4c3750e750e180595e.tar.gz
connectbot-5c0b47476a79daeb5f391d4c3750e750e180595e.tar.bz2
connectbot-5c0b47476a79daeb5f391d4c3750e750e180595e.zip
Use shorter LayoutInflater API
git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@498 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'src/org/connectbot/HostListActivity.java')
-rw-r--r--src/org/connectbot/HostListActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/connectbot/HostListActivity.java b/src/org/connectbot/HostListActivity.java
index 94cc1ad..f65c069 100644
--- a/src/org/connectbot/HostListActivity.java
+++ b/src/org/connectbot/HostListActivity.java
@@ -252,7 +252,7 @@ public class HostListActivity extends ListActivity {
});
transportSpinner.setAdapter(transportSelection);
- this.inflater = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
+ this.inflater = LayoutInflater.from(this);
}
@Override