AI 146035: am: CL 146034 ADT #1786173: NPW should not overwritte user-customized path
Original author: raphael Merged from: //branches/cupcake/... Automated import of CL 146035
This commit is contained in:
committed by
The Android Open Source Project
parent
56565ee9f0
commit
6e00361920
@@ -661,7 +661,7 @@ public class NewProjectCreationPage extends WizardPage {
|
|||||||
abs_dir.equals(sCustomLocationOsPath);
|
abs_dir.equals(sCustomLocationOsPath);
|
||||||
sCustomLocationOsPath = TextProcessor.process(abs_dir);
|
sCustomLocationOsPath = TextProcessor.process(abs_dir);
|
||||||
} else if (sAutoComputeCustomLocation ||
|
} else if (sAutoComputeCustomLocation ||
|
||||||
!new File(sCustomLocationOsPath).isDirectory()) {
|
(!is_new_project && !new File(sCustomLocationOsPath).isDirectory())) {
|
||||||
// By default select the samples directory of the current target
|
// By default select the samples directory of the current target
|
||||||
IAndroidTarget target = getSdkTarget();
|
IAndroidTarget target = getSdkTarget();
|
||||||
if (target != null) {
|
if (target != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user