OSDN Git Service

Fixes for koush's Superuser on marshmallow marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3
authorPaulo Sergio Travaglia <pstglia@gmail.com>
Wed, 6 Jan 2016 00:11:34 +0000 (22:11 -0200)
committerPaulo Sergio Travaglia <pstglia@gmail.com>
Wed, 6 Jan 2016 00:11:34 +0000 (22:11 -0200)
commit1fc4df05e75b66144756f691dd7a27d8c9497229
treece5a865c48cec56793fdd3151e95c6b4e491f53c
parent6e16917e10edc7ed149e7ea9fa60f759487733f2
Fixes for koush's Superuser on marshmallow

Koush Superuser uses Apache http client imports, which are
deprecated on API 23 (marshmallow).

As google recommends, it was replaced by HttpURLConnection

References:
http://developer.android.com/intl/pt-br/about/versions/marshmallow/android-6.0-changes.html
http://stackoverflow.com/questions/9856195/how-to-read-an-http-input-stream
https://developer.android.com/intl/pt-br/reference/java/net/HttpURLConnection.html
Superuser/src/com/koushikdutta/superuser/util/StreamUtility.java