phhusson / Superuser

Keeping koush's Superuser fresh
GNU General Public License v3.0
424 stars 50 forks source link

Fix build under API-23 #5

Closed lbdroid closed 8 years ago

lbdroid commented 8 years ago

Apache HTTP client is deprecated in Android 6.0. Since the functions it is used in are not actually used in anything, there is no need to update them to HttpURLConnection. Just remove them.

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