OSDN Git Service

Allow debugging only for apps forked from zygote DO NOT MERGE
authorSebastien Hertz <shertz@google.com>
Mon, 10 Aug 2015 16:55:34 +0000 (18:55 +0200)
committerSebastien Hertz <shertz@google.com>
Wed, 19 Aug 2015 15:12:34 +0000 (17:12 +0200)
commit18089ceb71ad4ce2332096b8e7b5f8c1f8e263db
tree6979f7298c495643c0d681ab7fa9d1f2edd18793
parentdc9cfca80139714ca37122148d041beedbf0ceb2
Allow debugging only for apps forked from zygote DO NOT MERGE

When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.

Bug: 23050463

(cherry picked from commit 7a09b8322cab26d6e3da1362d3c74964ae66b5d4)

Change-Id: I2400ecc8aea7579c43300efccf288b69f70eef53
cmds/app_process/app_main.cpp
core/jni/AndroidRuntime.cpp
include/android_runtime/AndroidRuntime.h