From c57269dfe8eeadd669a988ed7a40489aeb1c8764 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 8 Dec 2018 17:21:56 +0000 Subject: [PATCH] for some reason, on bad http auth data the stack throws NotFoundException --- .../java/net/ktnx/mobileledger/RetrieveAccountsTask.java | 8 +++++++- app/src/main/res/values/strings.xml | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java b/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java index d90eda15..1beb048a 100644 --- a/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java @@ -4,6 +4,7 @@ import android.content.SharedPreferences; import android.util.Log; import java.io.BufferedReader; +import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; @@ -130,7 +131,12 @@ abstract public class RetrieveAccountsTask extends android.os.AsyncTaskHide account Hide Show hidden accounts + Invalid username or password -- 2.39.5