summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authormarkchien <markchien@google.com>2020-02-26 20:54:55 +0800
committermarkchien <markchien@google.com>2020-02-27 14:50:16 +0800
commitd2d8d45b8915ef316b00ebbf0fa037107d0c0e4b (patch)
treeb8bd5d12e32fc0e59693b2bb346a7f4edaf30501 /tools/aapt2/java/JavaClassGenerator.cpp
parent8a6562112aaa88871c311d19b44a811c5f7a70d9 (diff)
Fix crash and duplicated ethernet tethering request
This change fix two things: 1. Handle ethernet callback in internal thread to avoid crash. IpServer should be created from tethering thread, otherwise mIpNeighborMonitor of IpServer would throw IllegalStateException("start() called from off-thread") 2. Ethernet tethering request may be duplicated if multiple startTethering is called but no stopTethering Bug: 130840861 Bug: 148824036 Test: ON/OFF ethernet tehtering manually atest TetheringTests Change-Id: I7c5127e96d80d077735010d2e62c7227805ccb10
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions