From 8f8da69822bc892944e9df5438f9d2eb85c03c55 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 29 Aug 2018 06:07:53 +0000 Subject: [PATCH] More fixes --- .idea/misc.xml | 2 +- app/src/main/AndroidManifest.xml | 1 + app/src/main/java/eu/faircode/email/SearchDataSource.java | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 77d47004..caad359b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -30,7 +30,7 @@ - + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index dfee57e3..6d16400d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -31,6 +31,7 @@ diff --git a/app/src/main/java/eu/faircode/email/SearchDataSource.java b/app/src/main/java/eu/faircode/email/SearchDataSource.java index ba9ceead..f09b0361 100644 --- a/app/src/main/java/eu/faircode/email/SearchDataSource.java +++ b/app/src/main/java/eu/faircode/email/SearchDataSource.java @@ -11,6 +11,7 @@ import android.widget.Toast; import com.sun.mail.imap.IMAPFolder; import com.sun.mail.imap.IMAPStore; +import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; @@ -109,7 +110,7 @@ public class SearchDataSource extends PositionalDataSource imple } } - private SearchResult search(String term, int from, int count) throws MessagingException, UnsupportedEncodingException { + private SearchResult search(String term, int from, int count) throws MessagingException, IOException { Log.i(Helper.TAG, "SDS search from=" + from + " count=" + count); if (istore == null) {