summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-03-19 15:23:45 +0000
committerLorenzo Colitti <lorenzo@google.com>2020-03-19 15:40:40 +0000
commit41c81248e8b55d2281a9cc7011247369fe829958 (patch)
tree6146bcefaea1731d75375ac743a9846dfefa0877 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta7aededa7dafdeb1d15cad28e98eadba78b2c0bb (diff)
Release the interface request when Ethernet tethering is stopped.
When the Ethernet interface becomes unavailable (e.g., because the cable was unplugged or the interface was removed), or when setEthernetTethering(false) is called, release the Ethernet interface request. This ensures that: - The Ethernet interface immediately becomes available for use in client mode. - If an interface later becomes available, tethering is not automatically started. This is consistent with what happens for other downstream types such as wifi and USB. Evey time one of those downstreams goes down, tethering is stopped and will not be restarted. Test: manual Bug: 148824036 Change-Id: Iaf85e800569f2e08c39f7ebb96f8aa34f6e53133 Merged-In: Iaf85e800569f2e08c39f7ebb96f8aa34f6e53133 (cherry picked from commit e54c92e5657abe2ce5da9dcba76b89c5e540cc44)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions