OSDN Git Service

Restore legacy types when registering mobile requests
authorErik Kline <ek@google.com>
Wed, 18 Jan 2017 07:08:06 +0000 (16:08 +0900)
committerErik Kline <ek@google.com>
Wed, 18 Jan 2017 08:27:31 +0000 (17:27 +0900)
commitdd8e8911c69dd68d268f892373b174bc7b422db8
treea52adf345ba75531b640cad8ea3d8c46169a461d
parent32aac7b9c95312cdd7c1e32d01a4fb6c0345f206
Restore legacy types when registering mobile requests

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
    - vanilla wifi to mobile tethering (no DUN)
    - tested with DUN by:
        - adding "dun" to the APN type
        - adb shell settings put global tether_dun_required 1
        - verified the bug exists without this fix
Bug: 32163131
Bug: 34364553
Change-Id: Idf1a9a2c8191c40abed29e1789f62aefb83ed1ce
services/core/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitor.java
tests/net/java/com/android/server/connectivity/tethering/UpstreamNetworkMonitorTest.java