From 17197ad670e96feea6c45b0d7d62f9de56d94032 Mon Sep 17 00:00:00 2001 From: Kartikey Kushwaha Date: Sat, 15 Sep 2018 12:51:39 +0530 Subject: [PATCH] Pull request changes begins here. --- .../java/org/schabi/newpipe/CheckForNewAppVersionTask.java | 4 ++-- .../main/java/org/schabi/newpipe/player/PopupVideoPlayer.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java b/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java index 5794b0d0f..628704b23 100644 --- a/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java +++ b/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java @@ -44,6 +44,8 @@ public class CheckForNewAppVersionTask extends AsyncTask { // 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 { @Override protected void onPostExecute(String response) { - Log.i("Response--", response); - // Parse the json from the response. if (response != null) { diff --git a/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java b/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java index 2c233f219..f9892ecb5 100644 --- a/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java +++ b/app/src/main/java/org/schabi/newpipe/player/PopupVideoPlayer.java @@ -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