1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-09-03 19:37:56 +00:00

Silence CheckForNewAppVersionTask

Closes #2421
This commit is contained in:
Redirion
2019-06-25 11:49:59 +02:00
committed by GitHub
parent 61472a995f
commit e599de038a

View File

@@ -90,9 +90,7 @@ public class CheckForNewAppVersionTask extends AsyncTask<Void, Void, String> {
Response response = client.newCall(request).execute();
return response.body().string();
} catch (IOException ex) {
ErrorActivity.reportError(app, ex, null, null,
ErrorActivity.ErrorInfo.make(UserAction.SOMETHING_ELSE, "none",
"app update API fail", R.string.app_ui_crash));
// connectivity problems, do not alarm user and fail silently
}
return null;