From c12b03a9352f3996d62b573a0bdede6a6b0019e0 Mon Sep 17 00:00:00 2001 From: markchien Date: Tue, 18 Aug 2020 09:52:08 +0800 Subject: [PATCH] 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: Ife03ee0c7096ea242eb701b297a69b471e15b436 --- Tethering/AndroidManifestBase.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tethering/AndroidManifestBase.xml b/Tethering/AndroidManifestBase.xml index fa85f66489..97c3988829 100644 --- a/Tethering/AndroidManifestBase.xml +++ b/Tethering/AndroidManifestBase.xml @@ -23,6 +23,7 @@ + android:directBootAware="true" + android:usesCleartextTraffic="true">