mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-31 15:20:09 -05:00
astyle
This commit is contained in:
parent
a4381696f9
commit
7fc921c0b7
@ -355,7 +355,8 @@ public class Apg extends CryptoProvider
|
||||
mEncryptedData = data.getStringExtra(Apg.EXTRA_ENCRYPTED_MESSAGE);
|
||||
// this was a stupid bug in an earlier version, just gonna leave this in for an APG
|
||||
// version or two
|
||||
if (mEncryptedData == null) {
|
||||
if (mEncryptedData == null)
|
||||
{
|
||||
mEncryptedData = data.getStringExtra(Apg.EXTRA_DECRYPTED_MESSAGE);
|
||||
}
|
||||
if (mEncryptedData != null)
|
||||
@ -450,7 +451,8 @@ public class Apg extends CryptoProvider
|
||||
public boolean isEncrypted(Message message)
|
||||
{
|
||||
String data = null;
|
||||
try {
|
||||
try
|
||||
{
|
||||
Part part = MimeUtility.findFirstPartByMimeType(message, "text/plain");
|
||||
if (part == null)
|
||||
{
|
||||
@ -479,7 +481,8 @@ public class Apg extends CryptoProvider
|
||||
public boolean isSigned(Message message)
|
||||
{
|
||||
String data = null;
|
||||
try {
|
||||
try
|
||||
{
|
||||
Part part = MimeUtility.findFirstPartByMimeType(message, "text/plain");
|
||||
if (part == null)
|
||||
{
|
||||
|
@ -523,7 +523,8 @@ public class MimeUtility
|
||||
* If the part is HTML and it got this far it's part of a mixed (et
|
||||
* al) and should be rendered inline.
|
||||
*/
|
||||
else if (isPartTextualBody(part)) {
|
||||
else if (isPartTextualBody(part))
|
||||
{
|
||||
viewables.add(part);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user