Remove a log and some commented code.

This commit is contained in:
Rachel Blackman 2026-05-26 17:06:03 -07:00
parent 837cf37214
commit beb9b63dda
No known key found for this signature in database

View file

@ -222,15 +222,10 @@ class HIDDeviceUSB implements HIDDevice {
return false;
}
if (!mClaimed) {
Log.w(TAG, "readReport() called but some other process currently owns the USB device");
if (feature) {
return false;
}
// For non-feature reports, fake that there's no data available if we aren't claimed.
// byte[] data;
// data = Arrays.copyOfRange(report, 0, res);
// mManager.HIDDeviceReportResponse(mDeviceId, data);
return true;
}