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:
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.
|
// 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) {
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user