summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2020-04-06 12:07:56 -0700
committerJosh Gao <jmgao@google.com>2020-04-06 14:33:14 -0700
commitba6d1da8eac55277e0fe3277328180e3fbee56e3 (patch)
tree30bf4c7e4577b6e7d1b976af04f8a4ccfcefddce /debuggerd/handler/debuggerd_handler.cpp
parent362a41a4f60f0e03bd38f32eed389900bf745f41 (diff)
adb: add option to disable kill-server.
In the post-apocalypse, it's increasingly common for people to use ssh port forwarding to use an adb client with a remote adb server. This results in `adb kill-server` being catastrophic, because the client has no way of restarting the server on the other end. Android Studio in particular has an unforunate habit of trying to manage adb's life cycle such that starting or exiting Studio will result in a kill-server. Add the ADB_REJECT_KILL_SERVER environment variable which ignores kill-server, to make this scenario a bit better. Bug: http://b/152251952 Test: ADB_REJECT_KILL_SERVER=1 adb start-server; adb kill-server Change-Id: I5533a6dcbdb9220526a6fcf9ca31d9fcef1cec17
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions