From f783ad84eeb2c4daeff1fd0077c80689081892d8 Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Thu, 29 Oct 2015 20:13:38 -0400 Subject: OpenPGP API v9 #143 --- app/build.gradle | 2 +- app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 4 ++-- app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app') diff --git a/app/build.gradle b/app/build.gradle index ce23907c..13a92edb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -60,7 +60,7 @@ dependencies { compile 'com.android.support:recyclerview-v7:23.0.1' compile 'com.android.support:cardview-v7:23.0.1' compile 'com.android.support:design:23.0.1' - compile 'org.sufficientlysecure:openpgp-api:7.0' + compile 'org.sufficientlysecure:openpgp-api:9.0' compile ('org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r') { exclude group: 'org.apache.httpcomponents', module: 'httpclient' } diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java index cd91f309..b379641a 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java @@ -28,7 +28,7 @@ import com.zeapo.pwdstore.utils.PasswordItem; import com.zeapo.pwdstore.utils.PasswordRepository; import org.apache.commons.io.FileUtils; -import org.openintents.openpgp.IOpenPgpService; +import org.openintents.openpgp.IOpenPgpService2; import org.openintents.openpgp.OpenPgpError; import org.openintents.openpgp.util.OpenPgpApi; import org.openintents.openpgp.util.OpenPgpServiceConnection; @@ -214,7 +214,7 @@ public class AutofillService extends AccessibilityService { private class onBoundListener implements OpenPgpServiceConnection.OnBound { @Override - public void onBound(IOpenPgpService service) { + public void onBound(IOpenPgpService2 service) { decryptAndVerify(); } @Override diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java index 9117a708..a620bd33 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java @@ -33,7 +33,7 @@ import com.zeapo.pwdstore.pwgenDialogFragment; import com.zeapo.pwdstore.utils.PasswordRepository; import org.apache.commons.io.FileUtils; -import org.openintents.openpgp.IOpenPgpService; +import org.openintents.openpgp.IOpenPgpService2; import org.openintents.openpgp.OpenPgpError; import org.openintents.openpgp.util.OpenPgpApi; import org.openintents.openpgp.util.OpenPgpServiceConnection; @@ -561,7 +561,7 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne } @Override - public void onBound(IOpenPgpService service) { + public void onBound(IOpenPgpService2 service) { Log.i("PGP", "ISBOUND!!"); Bundle extra = getIntent().getExtras(); -- cgit v1.2.3