diff options
Diffstat (limited to 'eclipse/plugins')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java index 0df28ea..1fd6b74 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ProjectSetupBuilder.java @@ -324,7 +324,7 @@ public class ProjectSetupBuilder { @NonNull private static IPath findCommonRoot(@NonNull IPath path1, @NonNull IPath path2) throws InternalException { - if (path1.getDevice() != null && path1.getDevice().equals(path2.getDevice())) { + if (path1.getDevice() != null && !path1.getDevice().equals(path2.getDevice())) { throw new InternalException( "Different modules have been detected on different drives.\n" + "This prevents finding a common root to all modules."); |