mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 09:08:49 -05:00
astyle
This commit is contained in:
parent
c49a856046
commit
9878b74379
@ -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);
|
||||||
|
@ -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();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user