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/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java | 4 ++-- app/src/main/java/com/zeapo/pwdstore/crypto/PgpHandler.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'app/src') 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