1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 10:05:49 +01:00

Pebble LE/Pebble 2: Fix reconnect not working when first attempt fails

This commit is contained in:
Andreas Shimokawa 2016-11-30 22:28:34 +01:00
parent 95ec1fb44c
commit b878fa5eda

View File

@ -76,13 +76,12 @@ public class PebbleLESupport {
} catch (InterruptedException e) {
LOG.error(e.getMessage());
}
try {
mPipedOutputStream.close();
} catch (IOException ignore) {
}
mPipeReader = null;
}
try {
mPipedInputStream.close();
} catch (IOException ignore) {
}
}
void setMTU(int mtu) {