diff options
author | Pierre Zurek <pierrezurek@gmail.com> | 2011-01-15 14:45:21 +0100 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2011-01-15 10:31:25 -0800 |
commit | 509d10850c863c004cadc9b862bb607b637bad83 (patch) | |
tree | f6b6152f152fc8155c90b42123a4d40f67fb92aa /sdkmanager | |
parent | 36e3d648bdada3818fc10a0753a2c6fb468d41ca (diff) | |
download | sdk-509d10850c863c004cadc9b862bb607b637bad83.zip sdk-509d10850c863c004cadc9b862bb607b637bad83.tar.gz sdk-509d10850c863c004cadc9b862bb607b637bad83.tar.bz2 |
Merge "Fix in SdkSources."
For User Add-ons, the counter used to save the urls was starting at one
while the counter used to load them was starting at zero.
Now they all start at zero.
Change-Id: Iff5204efe34d69ee8bcc3a4f11c8cc0de4ea7c29
Diffstat (limited to 'sdkmanager')
-rwxr-xr-x | sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/SdkSources.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/SdkSources.java b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/SdkSources.java index c2ad057..22678b3 100755 --- a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/SdkSources.java +++ b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/SdkSources.java @@ -275,8 +275,8 @@ public class SdkSources { int count = 0;
for (SdkSource s : getSources(SdkSourceCategory.USER_ADDONS)) {
- count++;
props.setProperty(String.format("%s%02d", KEY_SRC, count), s.getUrl()); //$NON-NLS-1$
+ count++;
}
props.setProperty(KEY_COUNT, Integer.toString(count));
|