1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 09:08:49 -05:00
This commit is contained in:
Jesse Vincent 2010-12-24 18:55:05 +00:00
parent c49a856046
commit 9878b74379
10 changed files with 259 additions and 253 deletions

View File

@ -1739,7 +1739,8 @@ public class MessagingController implements Runnable
public void messageStarted(String uid, int number, int ofTotal) {} public void messageStarted(String uid, int number, int ofTotal) {}
@Override @Override
public void messagesFinished(int total) { public void messagesFinished(int total)
{
// FIXME this method is almost never invoked by various Stores! Don't rely on it unless fixed!! // FIXME this method is almost never invoked by various Stores! Don't rely on it unless fixed!!
} }
@ -3717,7 +3718,8 @@ public class MessagingController implements Runnable
} }
finally finally
{ {
if (lastFailure == null) { if (lastFailure == null)
{
cancelNotification(K9.SEND_FAILED_NOTIFICATION - account.getAccountNumber()); cancelNotification(K9.SEND_FAILED_NOTIFICATION - account.getAccountNumber());
} }
closeFolder(localFolder); closeFolder(localFolder);

View File

@ -58,7 +58,10 @@ public class Editor implements android.content.SharedPreferences.Editor
// TODO Android 2.3 provides a sexy new "apply" method we need to implement // TODO Android 2.3 provides a sexy new "apply" method we need to implement
public void apply() { commit(); } public void apply()
{
commit();
}

View File

@ -245,7 +245,8 @@ public class AttachmentProvider extends ContentProvider
// Versions of K-9 before 3.400 had a database name here, not an // Versions of K-9 before 3.400 had a database name here, not an
// account UID, so implement a bit of backcompat // account UID, so implement a bit of backcompat
if (dbName.endsWith(".db")) { if (dbName.endsWith(".db"))
{
dbName = dbName.substring(0, dbName.length()-3); dbName = dbName.substring(0, dbName.length()-3);
} }