1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-19 16:24:57 +00:00

Pull request changes begins here.

This commit is contained in:
Kartikey Kushwaha 2018-09-15 12:51:39 +05:30
parent 910c10f554
commit 17197ad670
2 changed files with 3 additions and 3 deletions

View File

@ -44,6 +44,8 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
// Make a network request to get latest NewPipe data. // Make a network request to get latest NewPipe data.
Log.i("Update---", "checking");
String response; String response;
HttpURLConnection connection = null; HttpURLConnection connection = null;
@ -103,8 +105,6 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
@Override @Override
protected void onPostExecute(String response) { protected void onPostExecute(String response) {
Log.i("Response--", response);
// Parse the json from the response. // Parse the json from the response.
if (response != null) { if (response != null) {

View File

@ -666,7 +666,7 @@ public final class PopupVideoPlayer extends Service {
hideControls(DEFAULT_CONTROLS_DURATION, DEFAULT_CONTROLS_HIDE_TIME); hideControls(DEFAULT_CONTROLS_DURATION, DEFAULT_CONTROLS_HIDE_TIME);
// Check for new version // Check for new version
new CheckForNewAppVersionTask().execute(); //new CheckForNewAppVersionTask().execute();
} }
@Override @Override