diff options
author | Raphael Moll <ralf@android.com> | 2012-06-15 13:51:03 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-06-15 13:51:03 -0700 |
commit | 97efc1aeffebd840734c6a0ff39fdbad7802ed81 (patch) | |
tree | 1c5a2def5f5a649542565d679e14d39dec85b5b9 | |
parent | 551a05e510f48508bf0ec86fb672362baaf2687c (diff) | |
parent | 08799a8a00ca755b6d14201c885c3279d26aa617 (diff) | |
download | sdk-97efc1aeffebd840734c6a0ff39fdbad7802ed81.zip sdk-97efc1aeffebd840734c6a0ff39fdbad7802ed81.tar.gz sdk-97efc1aeffebd840734c6a0ff39fdbad7802ed81.tar.bz2 |
Merge "SDK Manager fix display of update revisions."
2 files changed, 3 insertions, 3 deletions
diff --git a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/AddonPackage.java b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/AddonPackage.java index fff45b9..fd8545c 100755 --- a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/AddonPackage.java +++ b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/AddonPackage.java @@ -488,7 +488,7 @@ public class AddonPackage extends MajorRevisionPackage return String.format("%1$s, Android API %2$s, revision %3$s%4$s",
getDisplayName(),
mVersion.getApiString(),
- getRevision(),
+ getRevision().toShortString(),
isObsolete() ? " (Obsolete)" : "");
}
@@ -503,7 +503,7 @@ public class AddonPackage extends MajorRevisionPackage String s = String.format("%1$s, Android API %2$s, revision %3$s%4$s\nBy %5$s",
getDisplayName(),
mVersion.getApiString(),
- getRevision(),
+ getRevision().toShortString(),
isObsolete() ? " (Obsolete)" : "", //$NON-NLS-2$
getDisplayVendor());
diff --git a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/PackagesPage.java b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/PackagesPage.java index 109c061..0b6d725 100755 --- a/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/PackagesPage.java +++ b/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/PackagesPage.java @@ -1376,7 +1376,7 @@ public class PackagesPage extends UpdaterPage implements ISdkChangeListener { if (update != null) { return String.format( "Update available: rev. %1$s", - update.getRevision()); + update.getRevision().toShortString()); } return "Installed"; |