Skip to content

Commit

Permalink
Merge pull request #19 from cagnulein/cagnulein-patch-1
Browse files Browse the repository at this point in the history
Adding delay if no data received
  • Loading branch information
cagnulein authored Oct 31, 2024
2 parents 9a3547f + 0a42545 commit d87a138
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main/java/org/cagnulein/android_remote/Scrcpy.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,12 @@ private void startConnection() {
first_time = false;
}

} else {
try {
Thread.sleep(5);
} catch (InterruptedException e) {
e.printStackTrace();
}
}


Expand Down

0 comments on commit d87a138

Please sign in to comment.