PgpSignEncrypt is now context-free

This commit is contained in:
Dominik Schürmann
2014-04-11 19:14:39 +02:00
parent 5346d2e878
commit bd6aeea6db
4 changed files with 51 additions and 22 deletions

View File

@@ -311,7 +311,10 @@ public class KeychainIntentService extends IntentService
/* Operation */
PgpSignEncrypt.Builder builder =
new PgpSignEncrypt.Builder(this, inputData, outStream);
new PgpSignEncrypt.Builder(
new ProviderHelper(this),
PgpHelper.getFullVersion(this),
inputData, outStream);
builder.progress(this);
builder.enableAsciiArmorOutput(useAsciiArmor)