Fixed an NPE, improved thread safety of camera code.

This commit is contained in:
akwizgran
2016-10-06 11:53:07 +01:00
parent fc38738428
commit 543304973e
5 changed files with 84 additions and 22 deletions

View File

@@ -39,7 +39,7 @@ class KeyAgreementTaskImpl extends Thread implements
private Payload localPayload;
private Payload remotePayload;
public KeyAgreementTaskImpl(Clock clock, CryptoComponent crypto,
KeyAgreementTaskImpl(Clock clock, CryptoComponent crypto,
EventBus eventBus, PayloadEncoder payloadEncoder,
PluginManager pluginManager, Executor ioExecutor) {
this.crypto = crypto;