aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/xmpp/jingle
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-17 21:09:46 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-17 21:09:46 +0200
commita68be2f67ea5472dd17611e4cd4a4acf6acdef5f (patch)
tree41ddd02462ca536c2a5aa8e241f46c03364c7851 /src/main/java/de/pixart/messenger/xmpp/jingle
parente4128f1227832580702a53f8ce3909b1f378ef79 (diff)
some tor modifications
possibly fixes #199
Diffstat (limited to 'src/main/java/de/pixart/messenger/xmpp/jingle')
-rw-r--r--src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java b/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java
index 42beee9d6..374e02750 100644
--- a/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java
+++ b/src/main/java/de/pixart/messenger/xmpp/jingle/JingleSocks5Transport.java
@@ -85,7 +85,7 @@ public class JingleSocks5Transport extends JingleTransport {
InputStream fileInputStream = null;
final PowerManager.WakeLock wakeLock = connection.getConnectionManager().createWakeLock("jingle_send_" + connection.getSessionId());
try {
- WakeLockHelper.acquire(wakeLock);
+ wakeLock.acquire();
MessageDigest digest = MessageDigest.getInstance("SHA-1");
digest.reset();
fileInputStream = connection.getFileInputStream();
@@ -125,7 +125,7 @@ public class JingleSocks5Transport extends JingleTransport {
OutputStream fileOutputStream = null;
final PowerManager.WakeLock wakeLock = connection.getConnectionManager().createWakeLock("jingle_receive_" + connection.getSessionId());
try {
- WakeLockHelper.acquire(wakeLock);
+ wakeLock.acquire();
MessageDigest digest = MessageDigest.getInstance("SHA-1");
digest.reset();
//inputStream.skip(45);