More fixes

This commit is contained in:
M66B 2018-08-29 06:07:53 +00:00
parent 2e79038fe2
commit 8f8da69822
3 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View File

@ -31,6 +31,7 @@
<activity
android:name=".ActivityMain"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:theme="@style/Theme.Transparent">
<intent-filter>

View File

@ -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<TupleMessageEx> 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) {