Updated FAQ, fix

pull/172/head
M66B 6 years ago
parent 227d71a1f4
commit 432c2ea345

@ -1685,6 +1685,7 @@ You can select one of these actions to apply to matching messages:
* Suppress notification * Suppress notification
* Snooze * Snooze
* Add star * Add star
* Set importance (local priority)
* Add keyword * Add keyword
* Move * Move
* Copy (Gmail: label) * Copy (Gmail: label)

@ -256,6 +256,8 @@ public class Log {
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
String no_internet = context.getString(R.string.title_no_internet);
config.beforeSend(new BeforeSend() { config.beforeSend(new BeforeSend() {
@Override @Override
public boolean run(@NonNull Report report) { public boolean run(@NonNull Report report) {
@ -285,9 +287,9 @@ public class Log {
return false; return false;
if (ex instanceof IllegalStateException && if (ex instanceof IllegalStateException &&
("Not connected".equals(ex.getMessage()) || (no_internet.equals(ex.getMessage()) ||
"This operation is not allowed on a closed folder".equals(ex.getMessage()) || "Not connected".equals(ex.getMessage()) ||
context.getString(R.string.title_no_internet).equals(ex.getMessage()))) "This operation is not allowed on a closed folder".equals(ex.getMessage())))
return false; return false;
if (ex instanceof FileNotFoundException && if (ex instanceof FileNotFoundException &&

Loading…
Cancel
Save