diff options
author | Paul Hu <paulhu@google.com> | 2019-05-14 04:28:35 -0700 |
---|---|---|
committer | Paul Hu <paulhu@google.com> | 2019-05-15 02:09:52 +0000 |
commit | eb20d2a2319b464fe22c1816c52fba7e2101c032 (patch) | |
tree | bfe28a30245ddd1c57cad7966adbac515706bfd3 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 92f755e33926f62c7120df6618b0071d5a794ae3 (diff) |
Fix captive portal app can be launched w/o MAINLINE_NETWORK_STACK permission
Caller should get SecurityException if called
ConnectivityManager#startCaptivePortalApp() w/o
MAINLINE_NETWORK_STACK permission. But now it will not get any
exception and can launch captive portal app successfully.
Bug: 132662433
Test: atest android.net.cts.ConnectivityManagerTest#testStartCaptivePortalApp
w and w/o MAINLINE_NETWORK_STACK permission
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Ib70fe6fad107f3e9dce9ce673188c5ce5dc1ad7b
Merged-In: I1025da29beb53259f57bd9ca5648b32f2847ed4a
Merged-In: Ib70fe6fad107f3e9dce9ce673188c5ce5dc1ad7b
(cherry picked from commit 72b3ab18ca302a3117f424a0f0ef6c08897c310e)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions