quantcast / android-measurement

Quantcast Measure for Android
13 stars 12 forks source link

Update Apache HTTP Client to HttpURLConnection #19

Open daniribalbert opened 4 years ago

daniribalbert commented 4 years ago

Apache HTTP Client support was removed in Android 6.0. It's suggested to use HttpURLConnection instead.

Ref: https://developer.android.com/about/versions/marshmallow/android-6.0-changes#behavior-apache-http-client

Currently QCDataUploader and QCPolicy use the old Apache Client. This PR will update it to HttpURLConnection