OpenPGP API v9 #143

This commit is contained in:
Matthew Wong 2015-10-29 20:13:38 -04:00
parent 55c312ddaa
commit f783ad84ee
3 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ dependencies {
compile 'com.android.support:recyclerview-v7:23.0.1' compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.android.support:cardview-v7:23.0.1' compile 'com.android.support:cardview-v7:23.0.1'
compile 'com.android.support:design: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') { compile ('org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r') {
exclude group: 'org.apache.httpcomponents', module: 'httpclient' exclude group: 'org.apache.httpcomponents', module: 'httpclient'
} }

View file

@ -28,7 +28,7 @@ import com.zeapo.pwdstore.utils.PasswordItem;
import com.zeapo.pwdstore.utils.PasswordRepository; import com.zeapo.pwdstore.utils.PasswordRepository;
import org.apache.commons.io.FileUtils; 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.OpenPgpError;
import org.openintents.openpgp.util.OpenPgpApi; import org.openintents.openpgp.util.OpenPgpApi;
import org.openintents.openpgp.util.OpenPgpServiceConnection; import org.openintents.openpgp.util.OpenPgpServiceConnection;
@ -214,7 +214,7 @@ public class AutofillService extends AccessibilityService {
private class onBoundListener implements OpenPgpServiceConnection.OnBound { private class onBoundListener implements OpenPgpServiceConnection.OnBound {
@Override @Override
public void onBound(IOpenPgpService service) { public void onBound(IOpenPgpService2 service) {
decryptAndVerify(); decryptAndVerify();
} }
@Override @Override

View file

@ -33,7 +33,7 @@ import com.zeapo.pwdstore.pwgenDialogFragment;
import com.zeapo.pwdstore.utils.PasswordRepository; import com.zeapo.pwdstore.utils.PasswordRepository;
import org.apache.commons.io.FileUtils; 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.OpenPgpError;
import org.openintents.openpgp.util.OpenPgpApi; import org.openintents.openpgp.util.OpenPgpApi;
import org.openintents.openpgp.util.OpenPgpServiceConnection; import org.openintents.openpgp.util.OpenPgpServiceConnection;
@ -561,7 +561,7 @@ public class PgpHandler extends AppCompatActivity implements OpenPgpServiceConne
} }
@Override @Override
public void onBound(IOpenPgpService service) { public void onBound(IOpenPgpService2 service) {
Log.i("PGP", "ISBOUND!!"); Log.i("PGP", "ISBOUND!!");
Bundle extra = getIntent().getExtras(); Bundle extra = getIntent().getExtras();