for read devices avd is always null

This commit is contained in:
Eugene Kudelevsky
2010-11-11 20:20:25 +03:00
parent c547fb9fd9
commit af5569c110
@@ -419,7 +419,7 @@ public abstract class AndroidRunningState implements RunProfileState, AndroidDeb
if (!isAndroidSdk15OrHigher()) {
return true;
}
String avdName = device.getAvdName();
String avdName = device.isEmulator() ? device.getAvdName() : null;
if (myAvdName != null) {
return myAvdName.equals(avdName);
}