diff src/com/five_ten_sg/connectbot/HelpActivity.java @ 256:29a431920007

help shows full version info
author Carl Byington <carl@five-ten-sg.com>
date Mon, 14 Jul 2014 14:11:09 -0700
parents 0ce5cc452d02
children 071eccdff8ea
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/HelpActivity.java	Mon Jul 14 13:02:34 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/HelpActivity.java	Mon Jul 14 14:11:09 2014 -0700
@@ -50,16 +50,6 @@
                                     getResources().getText(R.string.title_help)));
         AssetManager am = this.getAssets();
         LinearLayout content = (LinearLayout)this.findViewById(R.id.topics);
-        TextView appVersionView = (TextView) this.findViewById(R.id.topics).findViewById(R.id.app_version);
-
-        // get package version
-        try {
-            appVersionView.setText(getPackageManager().getPackageInfo(getPackageName(), 0).versionName);
-        }
-        catch (NameNotFoundException e) {
-            Log.e(TAG, "Problem retrieving application version", e);
-        }
-
         try {
             for (String name : am.list(HELPDIR)) {
                 if (name.endsWith(SUFFIX)) {