package com.android.sdklib.internal.repository;\r
\r
import com.android.sdklib.SdkConstants;\r
+import com.android.sdklib.SdkManager;\r
import com.android.sdklib.internal.repository.Archive.Arch;\r
import com.android.sdklib.internal.repository.Archive.Os;\r
import com.android.sdklib.repository.SdkRepository;\r
* A "tool" package should always be located in SDK/tools.\r
*\r
* @param osSdkRoot The OS path of the SDK root folder.\r
+ * @param suggestedDir A suggestion for the installation folder name, based on the root\r
+ * folder used in the zip archive.\r
+ * @param sdkManager An existing SDK manager to list current platforms and addons.\r
* @return A new {@link File} corresponding to the directory to use to install this package.\r
*/\r
@Override\r
- public File getInstallFolder(String osSdkRoot) {\r
+ public File getInstallFolder(String osSdkRoot, String suggestedDir, SdkManager sdkManager) {\r
return new File(osSdkRoot, getPath());\r
}\r
\r