From 6a4bb6e3e106e3f7c6d336bfa402b39274d8411f Mon Sep 17 00:00:00 2001 From: Redirion Date: Tue, 25 Jun 2019 13:39:47 +0200 Subject: [PATCH] Update CheckForNewAppVersionTask.java --- .../main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java b/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java index 642cf8910..09c44cad4 100644 --- a/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java +++ b/app/src/main/java/org/schabi/newpipe/CheckForNewAppVersionTask.java @@ -94,6 +94,7 @@ public class CheckForNewAppVersionTask extends AsyncTask { } catch (IOException ex) { // connectivity problems, do not alarm user and fail silently if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex)); + Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show(); } return null; @@ -120,6 +121,7 @@ public class CheckForNewAppVersionTask extends AsyncTask { } catch (JSONException ex) { // connectivity problems, do not alarm user and fail silently if (DEBUG) Log.w(TAG, Log.getStackTraceString(ex)); + Toast.makeText(app, R.string.error_connect_host, Toast.LENGTH_SHORT).show(); } } }