# HG changeset patch # User Carl Byington # Date 1405372269 25200 # Node ID 29a4319200071001dede636e4ec4010775ece345 # Parent 67f9a819157eddefcb2689a451273d279dcef6cf help shows full version info diff -r 67f9a819157e -r 29a431920007 res/layout/act_help.xml --- a/res/layout/act_help.xml Mon Jul 14 13:02:34 2014 -0700 +++ b/res/layout/act_help.xml Mon Jul 14 14:11:09 2014 -0700 @@ -34,10 +34,9 @@ > diff -r 67f9a819157e -r 29a431920007 src/com/five_ten_sg/connectbot/HelpActivity.java --- 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)) { diff -r 67f9a819157e -r 29a431920007 src/com/five_ten_sg/connectbot/WizardActivity.java --- a/src/com/five_ten_sg/connectbot/WizardActivity.java Mon Jul 14 13:02:34 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/WizardActivity.java Mon Jul 14 14:11:09 2014 -0700 @@ -48,15 +48,6 @@ // inflate the layout for EULA step LayoutInflater inflater = LayoutInflater.from(this); View helpView = inflater.inflate(R.layout.wiz_eula, this.flipper, false); - TextView appVersionView = (TextView) helpView.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); - } this.flipper.addView(helpView); // Add a view for each help topic we want the user to see.