summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2016-09-19 08:58:06 -0700
committerChristopher Wiley <wiley@google.com>2016-09-30 10:34:07 -0700
commitfa6a48661576d2bd93b5e817d3629cca0a50e6c6 (patch)
treec033e405174f42ac623bb982e47f4788e87201a2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdeebfec90b9e79d0c193464bcd2418d3d5d3de73 (diff)
Implement untetherAll as calls to stopTethering
(cherry-pick of 5df6ed4a878c778971f388e3cb88e53b8db43b35) Calling untether() on an interface name leaves the system in an inconsistent state, since this is an API for use by network subsystems to start or stop the tethering of a prepared downstream network interface. The proper way to disable tethering is to call stopTethering() with an appropriate technology. untetherAll() is called in parts of the system UI to disable all tethering on system state changes (e.g. on the enabling of data saver). Bug: 31405407 Test: Enabling data saver now correctly disables tethering Change-Id: I8e5724a31e015721910a8d278e100daf697c34d7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions