From fe14931d3c5c50a57d7cb705dfc57f919972fce6 Mon Sep 17 00:00:00 2001
From: Xavier Ducrohet <xav@android.com>
Date: Wed, 20 Jan 2010 16:57:29 -0800
Subject: 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
---
 sdkmanager/app/src/com/android/sdkmanager/Main.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'sdkmanager/app')

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);
     }
 
     /**
-- 
cgit v1.1