Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 850f49b6 authored by Martin Herndl's avatar Martin Herndl Committed by Steve Kondik
Browse files

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
parent 2d9f5340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment