Implement more DDMS support.

You can now launch DDMS without killing running oatexec processes...

Change-Id: I13e1d6df4f0cbd0c06b69471823a13e4e820b93b
diff --git a/src/dalvik_system_VMRuntime.cc b/src/dalvik_system_VMRuntime.cc
index b6a8ed7..8334059 100644
--- a/src/dalvik_system_VMRuntime.cc
+++ b/src/dalvik_system_VMRuntime.cc
@@ -15,6 +15,7 @@
  */
 
 #include "class_linker.h"
+#include "debugger.h"
 #include "jni_internal.h"
 #include "object.h"
 #include "thread.h"
@@ -87,8 +88,7 @@
 }
 
 jboolean VMRuntime_isDebuggerActive(JNIEnv*, jobject) {
-  // TODO: debugger!
-  return JNI_FALSE;
+  return Dbg::IsDebuggerConnected();
 }
 
 jobjectArray VMRuntime_properties(JNIEnv* env, jobject) {