OSDN Git Service

Switch to USB_CONFIGURED as the primary USB readiness signal
authorErik Kline <ek@google.com>
Tue, 4 Jul 2017 13:02:49 +0000 (22:02 +0900)
committerErik Kline <ek@google.com>
Tue, 4 Jul 2017 15:36:04 +0000 (00:36 +0900)
commitc438e306cc69b9d4d62512030267e93011b29978
tree3dfe8ef48652a655a2c60a0e2554a7ba298b913b
parent1d8d34fa3eff2c6f9ed23909e1688af6cc4560d0
Switch to USB_CONFIGURED as the primary USB readiness signal

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - USB tethering on and off works as expected
Bug: 32163131
Bug: 36216864
Bug: 62147658
Bug: 62552150
Change-Id: Ia8f7f3616f1358b0427386ce8aff26899e03ac07
services/core/java/com/android/server/connectivity/Tethering.java
tests/net/java/com/android/server/connectivity/TetheringTest.java