update adb version which fixes adb key missing error. Fixes #330

This commit is contained in:
Cooper Quintin
2025-05-29 15:00:23 -07:00
committed by Cooper Quintin
parent 4ee504fed7
commit 58843413b5
5 changed files with 8 additions and 15 deletions
+4 -4
View File
@@ -21,13 +21,13 @@ tokio-retry2 = "0.5.7"
tokio-stream = "0.1.17"
[target.'cfg(target_os = "linux")'.dependencies.adb_client]
git = "https://github.com/gaykitty/adb_client.git"
rev = "1fb0f4f5cbcc95bbbb98db4ee2f1e53a1005aa81"
git = "https://github.com/cooperq/adb_client.git"
rev = "88b3a3a24fe91d16101e44cebd84bd0ecc74ecdf"
default-features = false
features = ["trans-nusb"]
[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies.adb_client]
git = "https://github.com/gaykitty/adb_client.git"
rev = "1fb0f4f5cbcc95bbbb98db4ee2f1e53a1005aa81"
git = "https://github.com/cooperq/adb_client.git"
rev = "88b3a3a24fe91d16101e44cebd84bd0ecc74ecdf"
default-features = false
features = ["trans-libusb"]
-8
View File
@@ -434,14 +434,6 @@ pub fn open_orbic() -> Result<Option<Interface>> {
return Ok(Some(interface));
}
// Another device with rndis enabled as well
if let Some(device) = open_usb_device(VENDOR_ID, 0xf626)? {
let interface = device
.detach_and_claim_interface(1) // will reattach drivers on release
.context("detach_and_claim_interface(1) failed")?;
return Ok(Some(interface));
}
Ok(None)
}