aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/invalid/lena/scrcpy/Adb.java
diff options
context:
space:
mode:
authorLena <lena@omega>2026-07-01 00:00:00 +0000
committerLena <lena@omega>2026-07-01 00:00:00 +0000
commit9f832c148fdd3d9d3e4673e89d2d052c2bcd1efa (patch)
tree8f407b3891ccd1d8e0eba1b97340fa2a4143c270 /app/src/main/java/invalid/lena/scrcpy/Adb.java
parentf3221601bb9160de7909baa0b673f79c02a432d9 (diff)
downloadscrcpy-android-9f832c148fdd3d9d3e4673e89d2d052c2bcd1efa.tar.gz
treewide: correct stale comments
- MuxRecorder claimed minSdk 35; it is 31. - Adb claimed API 34 is the current Android max, next to compileSdk 35. - Server claimed the openAbstract budget is wall-clock bounded below the e2e deadline; the deadline is per stream, so the worst case is not. Describe what actually holds instead. - Pixhash contradicted itself about java.desktop availability.
Diffstat (limited to 'app/src/main/java/invalid/lena/scrcpy/Adb.java')
-rw-r--r--app/src/main/java/invalid/lena/scrcpy/Adb.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/invalid/lena/scrcpy/Adb.java b/app/src/main/java/invalid/lena/scrcpy/Adb.java
index 2909156..8e04327 100644
--- a/app/src/main/java/invalid/lena/scrcpy/Adb.java
+++ b/app/src/main/java/invalid/lena/scrcpy/Adb.java
@@ -59,9 +59,9 @@ public final class Adb extends AbsAdbConnectionManager {
// libadb-android's mApi is documented as "the target's API for protocol
// negotiation". We don't know the target's API at construction time;
- // pinning to the current Android max means the protocol stays at its
- // latest version, which is what wireless-debugging Android-11+ targets
- // expect. Bump when newer protocol versions ship.
+ // pinning a recent release (API 34) keeps the protocol at the newest
+ // version wireless-debugging Android-11+ targets expect. Bump when a
+ // newer protocol version ships.
private static final int TARGET_API_HINT = android.os.Build.VERSION_CODES.UPSIDE_DOWN_CAKE;
// Singleton: Main and Mirror both want an Adb; building two would