diff options
author | Martin Herndl <martin.herndl@gmail.com> | 2015-12-07 13:59:41 +0100 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2015-12-09 22:58:15 -0800 |
commit | 850f49b6b40602b510ca9b4a582cec85cd6bd178 (patch) | |
tree | 300a9c7ee7636a6489eb6d08a23529dc717764c7 /res | |
parent | 2d9f534061ea42f3d548aabe9de8ce5227085c2d (diff) | |
download | android_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 'res')
0 files changed, 0 insertions, 0 deletions