Skip to content

Commit b22dcd9

Browse files
authored
Merge pull request #32 from ShimmerEngineering/AA-251
AA-251 Handle Shimmer connection loss during streaming
2 parents e47aae4 + aa43e8f commit b22dcd9

File tree

1 file changed

+1
-1
lines changed
  • ShimmerAndroidInstrumentDriver/ShimmerAndroidInstrumentDriver/src/main/java/com/shimmerresearch/android

1 file changed

+1
-1
lines changed

ShimmerAndroidInstrumentDriver/ShimmerAndroidInstrumentDriver/src/main/java/com/shimmerresearch/android/Shimmer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ protected byte[] readBytes(int numberofBytes) {
11701170
mInStream.readFully(b,0,numberofBytes);
11711171
return(b);
11721172
} catch (IOException e) {
1173-
1173+
connectionLost();
11741174
System.out.println("Connection Lost");
11751175
e.printStackTrace();
11761176
}

0 commit comments

Comments
 (0)