summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2015-09-21 12:02:46 -0700
committerAlex Klyubin <klyubin@google.com>2015-09-21 12:29:32 -0700
commitf41fffb8d28d1547654ea96129d8778c97568c71 (patch)
tree394aa7e09c05ed008b3f27e35acbf0e6a3f728d1
parent2d0db3098ebdbe20a0cbe4a8afc7b8e593317d3b (diff)
downloadpackages_apps_Settings-f41fffb8d28d1547654ea96129d8778c97568c71.zip
packages_apps_Settings-f41fffb8d28d1547654ea96129d8778c97568c71.tar.gz
packages_apps_Settings-f41fffb8d28d1547654ea96129d8778c97568c71.tar.bz2
Fix MMS delivery issue by permitting HTTP from Settings app.
MMS delivery may fail on carriers which use cleartext HTTP for MMS, due to an issue introduced in Android M. The cause is that the platform-provided HTTP stack refuses cleartext HTTP from the MMS service process because other packages (Settings app, TelephonyProvider) loaded into the com.android.phone process declare a policy that cleartext network traffic is not permitted. The issue might be non-deterministic because the policy depends on the order in which packages are loaded into the process. From the perspective of platform-provided HTTP stacks, whether cleartext HTTP traffic is permitted is a per-process setting. It is set by the framework based on the policy of the package due to which the process is started. Further packages loaded into the process do not affect the per-process policy. This means all packages which may be loaded into the same process must use the same cleartext network traffic policy. This fix relaxes the network security policy of the Settings app to permit cleartext network traffic, so that all packages loaded into the com.android.phone process uses the same policy. Bug: 24222050 Change-Id: Id6d0018b30782c349963d92799d74266e5001729
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c0e1db8..883a672 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -91,7 +91,7 @@
android:requiredForAllUsers="true"
android:supportsRtl="true"
android:allowBackup="false"
- android:usesCleartextTraffic="false">
+ android:usesCleartextTraffic="true">
<!-- Settings -->