Index: dart/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/mobile/AndroidSdkManager.java |
=================================================================== |
--- dart/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/mobile/AndroidSdkManager.java (revision 37301) |
+++ dart/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/mobile/AndroidSdkManager.java (working copy) |
@@ -31,6 +31,8 @@ |
private static final String CONTENT_SHELL_APK = "content_shell-android-arm-release.apk"; |
+ private static final String CONNECTION_TEST_APK = "com.google.dart.editor.mobile.connection.service.apk"; |
+ |
private static final String ANDROID_DIRECTORY_NAME = "android"; |
private static final String ADB_DIRECTORY_NAME = "adb"; |
@@ -41,6 +43,11 @@ |
return manager; |
} |
+ public String getConnectionTestApkLocation() { |
+ File androidDir = getAndroidDir(); |
+ return androidDir.getAbsolutePath() + File.separator + CONNECTION_TEST_APK; |
+ } |
+ |
// the apk is in installdir/android |
public String getContentShellApkLocation() { |
File androidDir = getAndroidDir(); |