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() {
|
new Thread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
mCertificateManager.moveCertificateToSystem(cert);
|
Certificate moved = mCertificateManager.moveCertificateToSystem(cert);
|
||||||
mMovedCertificatesStorage.insert(cert);
|
mMovedCertificatesStorage.insert(moved);
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue