commit | 188bbe712d62a9381db2ae7b908a7a9f2e468bdb | [log] [tgz] |
---|---|---|
author | Mark Chien <markchien@google.com> | Tue Oct 13 13:42:29 2020 +0000 |
committer | Mark Chien <markchien@google.com> | Tue Oct 13 13:48:54 2020 +0000 |
tree | c6ba683cdebf41f04e969ad452a77cf0f1f534b4 | |
parent | 0a53121de5434ce9430b713cae552a6af16f1bf7 [diff] |
Allow tethering pick prefix from all of private address range Currently tethering only pick prefix from 192.168.0.0/16. There is no aviable tethering address if the upstream address is 192.168.x.y/16. This change allow tethering to pick prefix from any private address rnages. Now it still pick from 192.168.0.0/16 only to avoid behavior change. Will have follow up commit to change the configuration. Bug: 166057846 Bug: 170265597 Test: atest TetheringTests atest CtsTetheringTest Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436852 Change-Id: I008d5e5902a0fb41ac564c73f265e1c942c8dcad Merged-In: Ib6304eb8b4788e9196d0af48e72f00a6bda73a5f (cherry picked from commit 0a6b8bfee818734c005d9f131013580f5a23ba21)