pull/72/head
M66B 6 years ago
parent 2e79038fe2
commit 8f8da69822

@ -30,7 +30,7 @@
</value> </value>
</option> </option>
</component> </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" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">

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

@ -11,6 +11,7 @@ import android.widget.Toast;
import com.sun.mail.imap.IMAPFolder; import com.sun.mail.imap.IMAPFolder;
import com.sun.mail.imap.IMAPStore; import com.sun.mail.imap.IMAPStore;
import java.io.IOException;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; 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); Log.i(Helper.TAG, "SDS search from=" + from + " count=" + count);
if (istore == null) { if (istore == null) {

Loading…
Cancel
Save