diff options
author | Xavier Ducrohet <xav@android.com> | 2010-07-27 15:08:15 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-07-30 10:07:34 -0700 |
commit | 2e99f995cf6ac6496d83da3ffefb1a8e611af181 (patch) | |
tree | 3102a3d904586fe93bd2acbd24987c787e5c4d2d /sdkmanager/app/src/com | |
parent | a5f49d3bef9672375e59998fdc140378f6003f0e (diff) | |
download | sdk-2e99f995cf6ac6496d83da3ffefb1a8e611af181.zip sdk-2e99f995cf6ac6496d83da3ffefb1a8e611af181.tar.gz sdk-2e99f995cf6ac6496d83da3ffefb1a8e611af181.tar.bz2 |
Update sdklib to use the new sdk organization (build tools moved)
Also do some minor clean-up from the recent change to ProjectProperties.
FileWrapper extends java.io.File so there's no need to create a File
and then create a FileWrapper around it. Directly create a FileWrapper.
Change-Id: I3f072bf7f848d63b90fa03bec2683f6a009deb88
Diffstat (limited to 'sdkmanager/app/src/com')
-rw-r--r-- | sdkmanager/app/src/com/android/sdkmanager/Main.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdkmanager/app/src/com/android/sdkmanager/Main.java b/sdkmanager/app/src/com/android/sdkmanager/Main.java index 1bdd2fa..222cd40 100644 --- a/sdkmanager/app/src/com/android/sdkmanager/Main.java +++ b/sdkmanager/app/src/com/android/sdkmanager/Main.java @@ -925,11 +925,11 @@ public class Main { // get the hardware properties for this skin File skinFolder = avdManager.getSkinPath(skin, target); - File skinHardwareFile = new File(skinFolder, AvdManager.HARDWARE_INI); + FileWrapper skinHardwareFile = new FileWrapper(skinFolder, + AvdManager.HARDWARE_INI); if (skinHardwareFile.isFile()) { skinHardwareConfig = ProjectProperties.parsePropertyFile( - new FileWrapper(skinHardwareFile), - mSdkLog); + skinHardwareFile, mSdkLog); } break; } |