summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2018-03-09 14:18:02 +0900
committerErik Kline <ek@google.com>2018-04-02 16:59:23 -0700
commit7a26ba37f6a1205c8914c62c4756f24329317f6b (patch)
tree3af6ea02b0dcd775b9f38be1252e2c11de1a5846 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentea31cbea935a20d9d290453c2ba2f8b8670e45ca (diff)
Refactor isTetheringSupported() calls
Tethering currently wants access to complex isTetheringSupported logic that is only available in ConnectivityService. Instead of trying to access that via ConnectivityManager, pass this capability in to Tethering directly, in the TetheringDependencies object. Also: - ConnectivityManager is only a source of static constants now, so "import static" all the constants that are actually used. Test: as follows - built - flashed - booted - runtest frameworks-net works - manual USB towards WiFi tethering works Bug: 68951715 Merged-In: Ifa121b057f9959ddb980edc940327929e48ea973 Merged-In: Iad6358dc2f1d10b322d22ec90543adc50882962d Change-Id: Ia64faaadefb4a5d84a50da98bdebd544b6fda101 (cherry picked from commit 465ff3a0c1da8afd5cb13b25ed9a3c95ee0dd2c4)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions