summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2017-12-20 14:26:39 -0800
committerJerry Zhang <zhangjerry@google.com>2018-01-10 18:38:33 +0000
commit656a7bc06b3c11f1eb86385b706275191edb04d1 (patch)
tree74b9059bacc26871f19e8caf3f6ce761544bd2f9 /tools/aapt2/java/JavaClassGenerator.cpp
parentd9b3322e880c71354924fc2da54fa2e8276426e4 (diff)
Revamp USB tethering startup flow.
Modify usb tethering flow to no longer require mUsbTetherRequested. The new simplified flow is: 1. Usb rndis function is set through UsbManager 2. Usb is configured with rndis enabled 3. We tether the USB interface 4. Usb is disconnected 5. We untether the USB interface This allows USB tethering to be enabled through either UsbManager or ConnectivityManager and aligns the flow to be similar to other usb function services such as MTP. Bug: 62876645 Test: Enable and disable tethering through connectivity and with `svc usb setFunction rndis` Change-Id: Ica4203a499db177999302e099e28948b06ef2298
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions