From 1b3c28822530b27adc7bd5657e89940e8c06fa49 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 23 Mar 2014 14:15:14 +0100 Subject: holding wake locks during onStartCommand --- src/eu/siacs/conversations/crypto/OtrEngine.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/eu/siacs/conversations/crypto') 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 -- cgit v1.2.3