Browse Source

More fixes

main
M66B 6 years ago
parent
commit
8f8da69822
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      .idea/misc.xml
  2. +1
    -0
      app/src/main/AndroidManifest.xml
  3. +2
    -1
      app/src/main/java/eu/faircode/email/SearchDataSource.java

+ 1
- 1
.idea/misc.xml View File

@ -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">


+ 1
- 0
app/src/main/AndroidManifest.xml View File

@ -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>


+ 2
- 1
app/src/main/java/eu/faircode/email/SearchDataSource.java View File

@ -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