mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-20 04:31:47 -05:00
astyle
This commit is contained in:
parent
bccfae7703
commit
20e47991c3
@ -246,7 +246,7 @@ public class Account implements BaseAccount
|
|||||||
maximumPolledMessageAge = preferences.getPreferences().getInt(mUuid
|
maximumPolledMessageAge = preferences.getPreferences().getInt(mUuid
|
||||||
+ ".maximumPolledMessageAge", -1);
|
+ ".maximumPolledMessageAge", -1);
|
||||||
maximumAutoDownloadMessageSize = preferences.getPreferences().getInt(mUuid
|
maximumAutoDownloadMessageSize = preferences.getPreferences().getInt(mUuid
|
||||||
+ ".maximumAutoDownloadMessageSize", 32768);
|
+ ".maximumAutoDownloadMessageSize", 32768);
|
||||||
mQuotePrefix = preferences.getPreferences().getString(mUuid + ".quotePrefix", DEFAULT_QUOTE_PREFIX);
|
mQuotePrefix = preferences.getPreferences().getString(mUuid + ".quotePrefix", DEFAULT_QUOTE_PREFIX);
|
||||||
for (String type : networkTypes)
|
for (String type : networkTypes)
|
||||||
{
|
{
|
||||||
|
@ -419,6 +419,8 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void networkError()
|
public void networkError()
|
||||||
{
|
{
|
||||||
runOnUiThread(new Runnable()
|
runOnUiThread(new Runnable()
|
||||||
@ -1019,12 +1021,12 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
|
|
||||||
private void disableButtons()
|
private void disableButtons()
|
||||||
{
|
{
|
||||||
mArchive.setEnabled(false);
|
mArchive.setEnabled(false);
|
||||||
mMove.setEnabled(false);
|
mMove.setEnabled(false);
|
||||||
mSpam.setEnabled(false);
|
mSpam.setEnabled(false);
|
||||||
mArchiveScrolling.setEnabled(false);
|
mArchiveScrolling.setEnabled(false);
|
||||||
mMoveScrolling.setEnabled(false);
|
mMoveScrolling.setEnabled(false);
|
||||||
mSpamScrolling.setEnabled(false);
|
mSpamScrolling.setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setOnClickListener(int viewCode)
|
private void setOnClickListener(int viewCode)
|
||||||
@ -1861,6 +1863,8 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
}
|
}
|
||||||
|
|
||||||
MessageView.this.mMessage = message;
|
MessageView.this.mMessage = message;
|
||||||
|
|
||||||
|
|
||||||
if (!message.isSet(Flag.X_DOWNLOADED_FULL)
|
if (!message.isSet(Flag.X_DOWNLOADED_FULL)
|
||||||
&& !message.isSet(Flag.X_DOWNLOADED_PARTIAL))
|
&& !message.isSet(Flag.X_DOWNLOADED_PARTIAL))
|
||||||
{
|
{
|
||||||
|
@ -374,7 +374,7 @@ public class MimeUtility
|
|||||||
* See if there is conversion from the MIME charset to the Java one.
|
* See if there is conversion from the MIME charset to the Java one.
|
||||||
*/
|
*/
|
||||||
charset = CharsetUtil.toJavaCharset(originalCharset);
|
charset = CharsetUtil.toJavaCharset(originalCharset);
|
||||||
|
|
||||||
if (charset == null)
|
if (charset == null)
|
||||||
{
|
{
|
||||||
return String.format(K9.app.getString(R.string.charset_not_found), originalCharset);
|
return String.format(K9.app.getString(R.string.charset_not_found), originalCharset);
|
||||||
|
@ -915,7 +915,7 @@ public class ImapStore extends Store
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int start = 1;
|
int start = 1;
|
||||||
|
|
||||||
List<ImapResponse> responses = executeSimpleCommand(String.format("SEARCH %d:* "+criteria, start));
|
List<ImapResponse> responses = executeSimpleCommand(String.format("SEARCH %d:* "+criteria, start));
|
||||||
for (ImapResponse response : responses)
|
for (ImapResponse response : responses)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user