mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-25 01:20:34 +00:00
Pull request changes begins here.
This commit is contained in:
parent
910c10f554
commit
17197ad670
@ -44,6 +44,8 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
|
||||
|
||||
// Make a network request to get latest NewPipe data.
|
||||
|
||||
Log.i("Update---", "checking");
|
||||
|
||||
String response;
|
||||
HttpURLConnection connection = null;
|
||||
|
||||
@ -103,8 +105,6 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
|
||||
@Override
|
||||
protected void onPostExecute(String response) {
|
||||
|
||||
Log.i("Response--", response);
|
||||
|
||||
// Parse the json from the response.
|
||||
if (response != null) {
|
||||
|
||||
|
@ -666,7 +666,7 @@ public final class PopupVideoPlayer extends Service {
|
||||
hideControls(DEFAULT_CONTROLS_DURATION, DEFAULT_CONTROLS_HIDE_TIME);
|
||||
|
||||
// Check for new version
|
||||
new CheckForNewAppVersionTask().execute();
|
||||
//new CheckForNewAppVersionTask().execute();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user