From 8e1b0fb77ce50ddc99a596da48b65190e2708362 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 7 Oct 2009 11:12:33 -0700 Subject: [PATCH] Fix Settings to show versionName instead of versionCode. --- src/com/android/settings/InstalledAppDetails.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/InstalledAppDetails.java b/src/com/android/settings/InstalledAppDetails.java index 5a4e672b9d5..e9c8c368842 100644 --- a/src/com/android/settings/InstalledAppDetails.java +++ b/src/com/android/settings/InstalledAppDetails.java @@ -280,7 +280,7 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene if (pkgInfo != null) { mAppVersion.setVisibility(View.VISIBLE); mAppVersion.setText(getString(R.string.version_text, - String.valueOf(pkgInfo.versionCode))); + String.valueOf(pkgInfo.versionName))); } else { mAppVersion.setVisibility(View.GONE); }