aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/libs/sdkuilib
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2012-05-04 10:58:21 -0700
committerRaphael Moll <ralf@android.com>2012-05-04 13:04:25 -0700
commitd113f3dc4354ac56cc51cf698610807b5bad914c (patch)
tree264b7dc2dcc03e675265a97aac289502b199bf70 /sdkmanager/libs/sdkuilib
parentba6bbd023bcb9e5c8fb3515a159aa8a374704ce2 (diff)
downloadsdk-d113f3dc4354ac56cc51cf698610807b5bad914c.zip
sdk-d113f3dc4354ac56cc51cf698610807b5bad914c.tar.gz
sdk-d113f3dc4354ac56cc51cf698610807b5bad914c.tar.bz2
SDK Manager change format of revision property.
Instead of storing the full revision as 4 separate properties, this stores it using the legacy "Pkg.Revision" property with the "1.2.3 rc4" format. It reduces the number of properties to maintain, it's more human-readable and it's easier when we want to have min-tools-rev be a full revision in the next CL (otherwise it means 4 more properties, etc.) Change-Id: I94ebc4786e83c5b565a6d3a33d11efdfda6f72c5
Diffstat (limited to 'sdkmanager/libs/sdkuilib')
-rwxr-xr-xsdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AboutDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AboutDialog.java b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AboutDialog.java
index 6352bdb..35e3420 100755
--- a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AboutDialog.java
+++ b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/AboutDialog.java
@@ -107,7 +107,7 @@ public class AboutDialog extends UpdaterBaseDialog {
}
}
- String revision = p.getProperty(PkgProps.PKG_MAJOR_REV);
+ String revision = p.getProperty(PkgProps.PKG_REVISION);
if (revision != null) {
return revision;
}