aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/crypto/OtrEngine.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-23 14:15:14 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-23 14:15:14 +0100
commit1b3c28822530b27adc7bd5657e89940e8c06fa49 (patch)
tree78e748409daea7c460f23304f77031ac686a24e7 /src/eu/siacs/conversations/crypto/OtrEngine.java
parenta84a7d4fa460819670fd9faef93e49828671a0da (diff)
holding wake locks during onStartCommand
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/crypto/OtrEngine.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/eu/siacs/conversations/crypto/OtrEngine.java b/src/eu/siacs/conversations/crypto/OtrEngine.java
index 74e6036d..01ba5e49 100644
--- a/src/eu/siacs/conversations/crypto/OtrEngine.java
+++ b/src/eu/siacs/conversations/crypto/OtrEngine.java
@@ -19,7 +19,6 @@ import android.util.Log;
import eu.siacs.conversations.entities.Account;
import eu.siacs.conversations.persistance.DatabaseBackend;
-import eu.siacs.conversations.xml.Element;
import eu.siacs.conversations.xmpp.stanzas.MessagePacket;
import net.java.otr4j.OtrEngineHost;
@@ -199,15 +198,13 @@ public class OtrEngine implements OtrEngineHost {
@Override
public void smpError(SessionID arg0, int arg1, boolean arg2)
throws OtrException {
- // TODO Auto-generated method stub
-
+ throw new OtrException(new Exception("smp error"));
}
@Override
public void unencryptedMessageReceived(SessionID arg0, String arg1)
throws OtrException {
- // TODO Auto-generated method stub
-
+ throw new OtrException(new Exception("unencrypted message received"));
}
@Override