summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorMartin Herndl <martin.herndl@gmail.com>2015-12-07 13:59:41 +0100
committerSteve Kondik <shade@chemlab.org>2015-12-09 22:58:15 -0800
commit850f49b6b40602b510ca9b4a582cec85cd6bd178 (patch)
tree300a9c7ee7636a6489eb6d08a23529dc717764c7 /AndroidManifest.xml
parent2d9f534061ea42f3d548aabe9de8ce5227085c2d (diff)
downloadandroid_packages_apps_Dialer-850f49b6b40602b510ca9b4a582cec85cd6bd178.tar.gz
android_packages_apps_Dialer-850f49b6b40602b510ca9b4a582cec85cd6bd178.tar.bz2
android_packages_apps_Dialer-850f49b6b40602b510ca9b4a582cec85cd6bd178.zip
Lookup: fix unencrypted HTTP requests by allowing cleartext traffic
Starting with Android 6 cleartext traffic may be disabled per app Manifest by setting "usesCleartextTraffic" explicitly to false which breaks all of the lookup calls that are not using SSL/TLS like e.g. "Whitepages". They simply fail with the "CLEARTEXT communication not supported" exception which is coming from okhttp.Connection.connect. This changes sets the respective Manifest value explicitly to false. Alternatively it could also be ommited completely which makes the HTTP requests behave exactly like before. More info see Android developer guide regarding the Manifest or https://koz.io/android-m-and-the-war-on-cleartext-traffic/ Change-Id: I242dc9575aed8b182f5cae8e3c4becd672e25517
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c5ce9579f..882122bfe 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -71,7 +71,7 @@
android:hardwareAccelerated="true"
android:supportsRtl="true"
android:backupAgent='com.android.dialer.DialerBackupAgent'
- android:usesCleartextTraffic="false">
+ android:usesCleartextTraffic="true">
<meta-data android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" />