Add usesCleartextTraffic to Tethering
usesCleartextTraffic needs to be true for the networkstack process so
that the NetworkStack module can use no-encrypted probes to detect
captive portals.
When loaded in the networkstack process, all packages in process must
set usesCleartextTraffic=true, otherwise there may be races causing
the flag not to be set for the process.
Bug: 161860610
Test: CtsTetheringTest, TetheringTests
Change-Id: If1ea472e2b7e715ab97851394dc8980ad269b7a1
Merged-In: Ife03ee0c7096ea242eb701b297a69b471e15b436
(cherry picked from commit ed63b6c56d)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<application
|
||||
android:label="Tethering"
|
||||
android:defaultToDeviceProtectedStorage="true"
|
||||
android:directBootAware="true">
|
||||
android:directBootAware="true"
|
||||
android:usesCleartextTraffic="true">
|
||||
</application>
|
||||
</manifest>
|
||||
|
||||
Reference in New Issue
Block a user