mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Upgrade to SDK 15
This commit is contained in:
parent
4721d92e79
commit
ee34344d30
@ -11,5 +11,5 @@
|
|||||||
split.density=false
|
split.density=false
|
||||||
java.encoding=utf8
|
java.encoding=utf8
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-9
|
target=android-15
|
||||||
extensible.libs.classpath=compile-only-libs
|
extensible.libs.classpath=compile-only-libs
|
||||||
|
@ -7,6 +7,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
public class Editor implements android.content.SharedPreferences.Editor {
|
public class Editor implements android.content.SharedPreferences.Editor {
|
||||||
private Storage storage;
|
private Storage storage;
|
||||||
@ -138,4 +139,9 @@ public class Editor implements android.content.SharedPreferences.Editor {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public android.content.SharedPreferences.Editor putStringSet(String arg0, Set<String> arg1) {
|
||||||
|
throw new RuntimeException("Not implemented");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@ import java.net.URI;
|
|||||||
import java.net.URLEncoder;
|
import java.net.URLEncoder;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
import java.util.concurrent.CopyOnWriteArrayList;
|
import java.util.concurrent.CopyOnWriteArrayList;
|
||||||
|
|
||||||
@ -399,4 +400,10 @@ public class Storage implements SharedPreferences {
|
|||||||
Log.e(K9.LOG_TAG, "Error writing key '" + key + "', value = '" + value + "'");
|
Log.e(K9.LOG_TAG, "Error writing key '" + key + "', value = '" + value + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<String> getStringSet(String arg0, Set<String> arg1) {
|
||||||
|
throw new RuntimeException("Not implemented");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,5 @@
|
|||||||
package com.fsck.k9.provider;
|
package com.fsck.k9.provider;
|
||||||
|
|
||||||
import java.lang.ref.WeakReference;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.LinkedHashMap;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.concurrent.BlockingQueue;
|
|
||||||
import java.util.concurrent.Executors;
|
|
||||||
import java.util.concurrent.ScheduledExecutorService;
|
|
||||||
import java.util.concurrent.Semaphore;
|
|
||||||
import java.util.concurrent.SynchronousQueue;
|
|
||||||
import java.util.concurrent.TimeUnit;
|
|
||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
|
||||||
|
|
||||||
import android.content.ContentProvider;
|
import android.content.ContentProvider;
|
||||||
import android.content.ContentResolver;
|
import android.content.ContentResolver;
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
@ -46,6 +33,19 @@ import com.fsck.k9.mail.Message;
|
|||||||
import com.fsck.k9.mail.MessagingException;
|
import com.fsck.k9.mail.MessagingException;
|
||||||
import com.fsck.k9.mail.store.LocalStore;
|
import com.fsck.k9.mail.store.LocalStore;
|
||||||
|
|
||||||
|
import java.lang.ref.WeakReference;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
|
import java.util.LinkedHashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.concurrent.BlockingQueue;
|
||||||
|
import java.util.concurrent.Executors;
|
||||||
|
import java.util.concurrent.ScheduledExecutorService;
|
||||||
|
import java.util.concurrent.Semaphore;
|
||||||
|
import java.util.concurrent.SynchronousQueue;
|
||||||
|
import java.util.concurrent.TimeUnit;
|
||||||
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
|
|
||||||
public class MessageProvider extends ContentProvider {
|
public class MessageProvider extends ContentProvider {
|
||||||
|
|
||||||
public static interface MessageColumns extends BaseColumns {
|
public static interface MessageColumns extends BaseColumns {
|
||||||
@ -714,6 +714,12 @@ public class MessageProvider extends ContentProvider {
|
|||||||
checkClosed();
|
checkClosed();
|
||||||
mCursor.unregisterDataSetObserver(observer);
|
mCursor.unregisterDataSetObserver(observer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getType(int columnIndex) {
|
||||||
|
checkClosed();
|
||||||
|
return mCursor.getType(columnIndex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected class ThrottlingQueryHandler implements QueryHandler {
|
protected class ThrottlingQueryHandler implements QueryHandler {
|
||||||
|
Loading…
Reference in New Issue
Block a user