Fixed CertificateAdapter inserting wrong certificate into database.
This commit is contained in:
parent
3f42575484
commit
c9b078cf62
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ public class CertificateAdapter extends ArrayAdapter<Certificate> implements
|
|||
new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
mCertificateManager.moveCertificateToSystem(cert);
|
||||
mMovedCertificatesStorage.insert(cert);
|
||||
Certificate moved = mCertificateManager.moveCertificateToSystem(cert);
|
||||
mMovedCertificatesStorage.insert(moved);
|
||||
}
|
||||
}).start();
|
||||
}
|
||||
|
|
Reference in a new issue