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);
|
mEncryptedData = data.getStringExtra(Apg.EXTRA_ENCRYPTED_MESSAGE);
|
||||||
// this was a stupid bug in an earlier version, just gonna leave this in for an APG
|
// this was a stupid bug in an earlier version, just gonna leave this in for an APG
|
||||||
// version or two
|
// version or two
|
||||||
if (mEncryptedData == null) {
|
if (mEncryptedData == null)
|
||||||
|
{
|
||||||
mEncryptedData = data.getStringExtra(Apg.EXTRA_DECRYPTED_MESSAGE);
|
mEncryptedData = data.getStringExtra(Apg.EXTRA_DECRYPTED_MESSAGE);
|
||||||
}
|
}
|
||||||
if (mEncryptedData != null)
|
if (mEncryptedData != null)
|
||||||
@ -450,7 +451,8 @@ public class Apg extends CryptoProvider
|
|||||||
public boolean isEncrypted(Message message)
|
public boolean isEncrypted(Message message)
|
||||||
{
|
{
|
||||||
String data = null;
|
String data = null;
|
||||||
try {
|
try
|
||||||
|
{
|
||||||
Part part = MimeUtility.findFirstPartByMimeType(message, "text/plain");
|
Part part = MimeUtility.findFirstPartByMimeType(message, "text/plain");
|
||||||
if (part == null)
|
if (part == null)
|
||||||
{
|
{
|
||||||
@ -479,7 +481,8 @@ public class Apg extends CryptoProvider
|
|||||||
public boolean isSigned(Message message)
|
public boolean isSigned(Message message)
|
||||||
{
|
{
|
||||||
String data = null;
|
String data = null;
|
||||||
try {
|
try
|
||||||
|
{
|
||||||
Part part = MimeUtility.findFirstPartByMimeType(message, "text/plain");
|
Part part = MimeUtility.findFirstPartByMimeType(message, "text/plain");
|
||||||
if (part == null)
|
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
|
* If the part is HTML and it got this far it's part of a mixed (et
|
||||||
* al) and should be rendered inline.
|
* al) and should be rendered inline.
|
||||||
*/
|
*/
|
||||||
else if (isPartTextualBody(part)) {
|
else if (isPartTextualBody(part))
|
||||||
|
{
|
||||||
viewables.add(part);
|
viewables.add(part);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user