diff options
author | Amith Yamasani <yamasani@google.com> | 2015-02-26 13:54:09 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2015-03-02 09:14:23 -0800 |
commit | f6197e8fa25d7a411a08ca01f9af8f6278ef97d6 (patch) | |
tree | 1d470f545493b59af61f24c7184aa219cdbb4b94 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c0a9a7ad6d96b7c59e1056f4a6638e344497b337 (diff) |
Avoid NPE when quickly toggling USB debugging state
If you try to disable USB debugging before the socket
to listen is opened in the thread, it will end up
with an NPE.
Do some locking around socket creation and closing
to avoid this.
Bug: 18708503
Change-Id: Iac43e4806fff1e411772b1ba1a070d8a7c776fcb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions