summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-03-18 11:42:25 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-03-19 22:35:28 +0900
commit925c8bab1747e736d28de213ba32a538c06ea277 (patch)
treebb6aeb3e767d9615fe179920fb3fd0da76a8daf4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentda4fe152c44f516bd1303734d5dec78563a96aa3 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions