aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/app
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-01-20 16:57:29 -0800
committerXavier Ducrohet <xav@android.com>2010-01-20 17:04:47 -0800
commitfe14931d3c5c50a57d7cb705dfc57f919972fce6 (patch)
tree245b20f6e77f0e8a8f53f63bf8f4d53f644ee60f /sdkmanager/app
parent9f11429c74555ae7ea45750f2ea878dda5e42b60 (diff)
downloadsdk-fe14931d3c5c50a57d7cb705dfc57f919972fce6.zip
sdk-fe14931d3c5c50a57d7cb705dfc57f919972fce6.tar.gz
sdk-fe14931d3c5c50a57d7cb705dfc57f919972fce6.tar.bz2
Make "android update test-project" create all necessary files.
Previous implementation only created build.properties to set the location of the main project. This new version will also update/create files as the main "android update project" command does. Bug: 2284744 Change-Id: I8938d0a49537c5d4fbc60d3557a21ab7c40fad3e
Diffstat (limited to 'sdkmanager/app')
-rw-r--r--sdkmanager/app/src/com/android/sdkmanager/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdkmanager/app/src/com/android/sdkmanager/Main.java b/sdkmanager/app/src/com/android/sdkmanager/Main.java
index 55d4357..8084693 100644
--- a/sdkmanager/app/src/com/android/sdkmanager/Main.java
+++ b/sdkmanager/app/src/com/android/sdkmanager/Main.java
@@ -528,7 +528,8 @@ public class Main {
String projectDir = getProjectLocation(mSdkCommandLine.getParamLocationPath());
- creator.updateTestProject(projectDir, mSdkCommandLine.getParamTestProjectMain());
+ creator.updateTestProject(projectDir, mSdkCommandLine.getParamTestProjectMain(),
+ mSdkManager);
}
/**