AVD Launcher.exe for the Windows SDK.

In Tools R14, the Windows SDK will have 2 icons in the root
of the SDK: one to launch the AVD window, and a different one
to launche the SDK Manager window.

I'll need to change the icon in a later CL. I don't have
any ICO editor at hand right now.

Change-Id: Ic651e3c3d71c2eac5fe851fba8ea2782eca5e594
diff --git a/sdklauncher/sdklauncher.c b/sdklauncher/sdklauncher.c
index d3c4445..570da86 100644
--- a/sdklauncher/sdklauncher.c
+++ b/sdklauncher/sdklauncher.c
@@ -20,10 +20,7 @@
  * and currently simply executes tools\android.bat.
  * Eventually it should simply replace the batch file.
  *
- * TODO:
- * - create temp dir, always copy *.jar there, exec android.jar
- * - get jars to copy from some file
- * - use a version number to copy jars only if needed (tools.revision?)
+ * TODO: replace by a jar-exe wrapper.
  */
 
 #ifdef _WIN32
@@ -223,7 +220,7 @@
 
         ret = CreateProcess(
                 NULL,                                       /* program path */
-                "tools\\android.bat update sdk",           /* command-line */
+                "tools\\android.bat sdk",                   /* command-line */
                 NULL,                  /* process handle is not inheritable */
                 NULL,                   /* thread handle is not inheritable */
                 TRUE,                          /* yes, inherit some handles */
@@ -232,7 +229,7 @@
                 program_dir,             /* use parent's starting directory */
                 &startup,                 /* startup info, i.e. std handles */
                 &pinfo);
-               
+
         dprintf("CreateProcess returned %d\n", ret);
 
         if (!ret) {
@@ -240,13 +237,13 @@
             result = 1;
         } else {
             dprintf("Wait for process to finish.\n");
-            
+
             WaitForSingleObject(pinfo.hProcess, INFINITE);
             CloseHandle(pinfo.hProcess);
             CloseHandle(pinfo.hThread);
         }
     }
-    
+
     dprintf("Cleanup.\n");
 
     if (!CloseHandle(temp_handle)) {
@@ -267,7 +264,7 @@
 int main(int argc, char **argv) {
     _enable_dprintf = argc > 1 && strcmp(argv[1], "-v") == 0;
     dprintf("Verbose debug mode.\n");
-    
+
     return sdk_launcher();
 }