CaptivePortal: implement setDelegateUid API.
This API is designed to set the UID of the app that is allowed to perform network traffic for captive protal login, communication will bypass network access restrictions such as VPNs and private DNS settings when a portal page is launched by Android Custom Tabs and bind the upcoming traffic to that portal network. Bug: 373773542 Test: atest ConnectivityCoverageTests Change-Id: I9992671634b8e88f5a647455811a6157fb15a44b
This commit is contained in:
parent
729914733a
commit
7d6dfd52b2
1 changed files with 212 additions and 1 deletions
|
|
@ -75,6 +75,7 @@ java_defaults {
|
|||
// the module builds against API (the parcelable declarations exist in framework.aidl)
|
||||
"frameworks/base/core/java", // For framework parcelables
|
||||
"frameworks/native/aidl/binder", // For PersistableBundle.aidl
|
||||
"packages/modules/Connectivity/Tethering/common/TetheringLib/src",
|
||||
],
|
||||
},
|
||||
stub_only_libs: [
|
||||
|
|
@ -334,6 +335,7 @@ droidstubs {
|
|||
aidl: {
|
||||
include_dirs: [
|
||||
"packages/modules/Connectivity/framework/aidl-export",
|
||||
"packages/modules/Connectivity/Tethering/common/TetheringLib/src",
|
||||
"frameworks/native/aidl/binder", // For PersistableBundle.aidl
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue