null check

This commit is contained in:
Ashley Hughes 2013-09-17 18:31:02 +01:00
parent b4382db263
commit 32b2711e61

View File

@ -272,6 +272,7 @@ public class PgpImportExport {
}
newPubRing = PGPPublicKeyRing.insertPublicKey(newPubRing, key);
}
if (newPubRing != null)
ProviderHelper.saveKeyRing(mContext, newPubRing);
// TODO: remove status returns, use exceptions!
status = Id.return_value.ok;