mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
commit
31af4526ab
@ -1053,7 +1053,7 @@ public class Account implements BaseAccount {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// It'd be great if this actually went into the store implementation
|
// It'd be great if this actually went into the store implementation
|
||||||
// to get this, but that's expensive and not easilly accessible
|
// to get this, but that's expensive and not easily accessible
|
||||||
// during initialization
|
// during initialization
|
||||||
public boolean isSearchByDateCapable() {
|
public boolean isSearchByDateCapable() {
|
||||||
if (getStoreUri().startsWith("imap")) {
|
if (getStoreUri().startsWith("imap")) {
|
||||||
|
@ -575,7 +575,7 @@ public class K9 extends Application {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void searchStats(final AccountStats stats) {
|
public void searchStats(final AccountStats stats) {
|
||||||
// let observers know a fetch occured
|
// let observers know a fetch occurred
|
||||||
K9.this.sendBroadcast(new Intent(K9.Intents.EmailReceived.ACTION_REFRESH_OBSERVER, null));
|
K9.this.sendBroadcast(new Intent(K9.Intents.EmailReceived.ACTION_REFRESH_OBSERVER, null));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -847,7 +847,7 @@ public class MessageList
|
|||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
*
|
*
|
||||||
* Method overriden for proper typing within this class (the return type is
|
* Method overridden for proper typing within this class (the return type is
|
||||||
* more specific than the super implementation)
|
* more specific than the super implementation)
|
||||||
*
|
*
|
||||||
* @see android.app.Activity#onRetainNonConfigurationInstance()
|
* @see android.app.Activity#onRetainNonConfigurationInstance()
|
||||||
@ -863,7 +863,7 @@ public class MessageList
|
|||||||
/*
|
/*
|
||||||
* (non-Javadoc)
|
* (non-Javadoc)
|
||||||
*
|
*
|
||||||
* Method overriden for proper typing within this class (the return type is
|
* Method overridden for proper typing within this class (the return type is
|
||||||
* more specific than the super implementation)
|
* more specific than the super implementation)
|
||||||
*
|
*
|
||||||
* @see android.app.Activity#getLastNonConfigurationInstance()
|
* @see android.app.Activity#getLastNonConfigurationInstance()
|
||||||
|
@ -1741,7 +1741,7 @@ public class MessagingController implements Runnable {
|
|||||||
notifyAccount(mApplication, account, message, unreadBeforeStart, newMessages);
|
notifyAccount(mApplication, account, message, unreadBeforeStart, newMessages);
|
||||||
}
|
}
|
||||||
|
|
||||||
}//for large messsages
|
}//for large messages
|
||||||
if (K9.DEBUG)
|
if (K9.DEBUG)
|
||||||
Log.d(K9.LOG_TAG, "SYNC: Done fetching large messages for folder " + folder);
|
Log.d(K9.LOG_TAG, "SYNC: Done fetching large messages for folder " + folder);
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ public class AutoSyncHelper {
|
|||||||
* False, if we never tried to load the class for this SDK version.
|
* False, if we never tried to load the class for this SDK version.
|
||||||
* True, otherwise.
|
* True, otherwise.
|
||||||
*
|
*
|
||||||
* Note: if sAutoSync is null and sChecked is true, then an error occured
|
* Note: if sAutoSync is null and sChecked is true, then an error occurred
|
||||||
* while loading the class for the SDK version we're running on.
|
* while loading the class for the SDK version we're running on.
|
||||||
*/
|
*/
|
||||||
private static boolean sChecked = false;
|
private static boolean sChecked = false;
|
||||||
|
@ -205,7 +205,7 @@ public class ImapResponseParser {
|
|||||||
ch == '[' || ch == ']' ||
|
ch == '[' || ch == ']' ||
|
||||||
// docs claim that flags are \ atom but atom isn't supposed to
|
// docs claim that flags are \ atom but atom isn't supposed to
|
||||||
// contain
|
// contain
|
||||||
// * and some falgs contain *
|
// * and some flags contain *
|
||||||
// ch == '%' || ch == '*' ||
|
// ch == '%' || ch == '*' ||
|
||||||
// ch == '%' ||
|
// ch == '%' ||
|
||||||
// TODO probably should not allow \ and should recognize
|
// TODO probably should not allow \ and should recognize
|
||||||
|
@ -399,7 +399,7 @@ public class LockableDatabase {
|
|||||||
databaseFile = storageManager.getDatabase(uUid, providerId);
|
databaseFile = storageManager.getDatabase(uUid, providerId);
|
||||||
databaseParentDir = databaseFile.getParentFile();
|
databaseParentDir = databaseFile.getParentFile();
|
||||||
if (databaseParentDir.isFile()) {
|
if (databaseParentDir.isFile()) {
|
||||||
// should be safe to inconditionally delete clashing file: user is not supposed to mess with our directory
|
// should be safe to unconditionally delete clashing file: user is not supposed to mess with our directory
|
||||||
databaseParentDir.delete();
|
databaseParentDir.delete();
|
||||||
}
|
}
|
||||||
if (!databaseParentDir.exists()) {
|
if (!databaseParentDir.exists()) {
|
||||||
|
@ -981,7 +981,7 @@ public class Pop3Store extends Store {
|
|||||||
// }
|
// }
|
||||||
// catch (MessagingException me)
|
// catch (MessagingException me)
|
||||||
// {
|
// {
|
||||||
// Log.w(K9.LOG_TAG, "Could not delete non-existant message", me);
|
// Log.w(K9.LOG_TAG, "Could not delete non-existent message", me);
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2135,7 +2135,7 @@ public class WebDavStore extends Store {
|
|||||||
} else {
|
} else {
|
||||||
// We don't actually want to have null values in our hashmap,
|
// We don't actually want to have null values in our hashmap,
|
||||||
// as it causes the calling code to crash with an NPE as it
|
// as it causes the calling code to crash with an NPE as it
|
||||||
// does a lookup in the maap.
|
// does a lookup in the map.
|
||||||
uidToRead.put(uid, false);
|
uidToRead.put(uid, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -893,7 +893,7 @@ public class MessageProvider extends ContentProvider {
|
|||||||
Log.v(K9.LOG_TAG, "MessageProvider/delete: " + uri);
|
Log.v(K9.LOG_TAG, "MessageProvider/delete: " + uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Nota : can only delete a message
|
// Note: can only delete a message
|
||||||
|
|
||||||
List<String> segments = null;
|
List<String> segments = null;
|
||||||
int accountId = -1;
|
int accountId = -1;
|
||||||
|
@ -95,7 +95,7 @@ public class MessageWebView extends WebView {
|
|||||||
|
|
||||||
webSettings.setTextSize(K9.getFontSizes().getMessageViewContent());
|
webSettings.setTextSize(K9.getFontSizes().getMessageViewContent());
|
||||||
|
|
||||||
// Disable network images by default. This is overriden by preferences.
|
// Disable network images by default. This is overridden by preferences.
|
||||||
blockNetworkData(true);
|
blockNetworkData(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user