mirror of https://github.com/moparisthebest/k-9
astyle
This commit is contained in:
parent
7300aca2b8
commit
e0447e32cc
|
@ -1491,8 +1491,10 @@ public class Account implements BaseAccount
|
||||||
lastSelectedFolderName = folderName;
|
lastSelectedFolderName = folderName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized CryptoProvider getCryptoProvider() {
|
public synchronized CryptoProvider getCryptoProvider()
|
||||||
if (mCryptoProvider == null) {
|
{
|
||||||
|
if (mCryptoProvider == null)
|
||||||
|
{
|
||||||
mCryptoProvider = CryptoProvider.createInstance(getCryptoApp());
|
mCryptoProvider = CryptoProvider.createInstance(getCryptoApp());
|
||||||
}
|
}
|
||||||
return mCryptoProvider;
|
return mCryptoProvider;
|
||||||
|
|
|
@ -2,7 +2,8 @@ package com.fsck.k9.crypto;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
public class PgpData implements Serializable {
|
public class PgpData implements Serializable
|
||||||
|
{
|
||||||
protected long mEncryptionKeyIds[] = null;
|
protected long mEncryptionKeyIds[] = null;
|
||||||
protected long mSignatureKeyId = 0;
|
protected long mSignatureKeyId = 0;
|
||||||
protected String mSignatureUserId = null;
|
protected String mSignatureUserId = null;
|
||||||
|
|
|
@ -202,7 +202,8 @@ public class MessageProvider extends ContentProvider
|
||||||
|
|
||||||
public void setApplication(Application app)
|
public void setApplication(Application app)
|
||||||
{
|
{
|
||||||
if (context == null) {
|
if (context == null)
|
||||||
|
{
|
||||||
context = app.getApplicationContext();
|
context = app.getApplicationContext();
|
||||||
}
|
}
|
||||||
if (app != null)
|
if (app != null)
|
||||||
|
|
Loading…
Reference in New Issue