mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
Remove a log and some commented code.
This commit is contained in:
parent
837cf37214
commit
beb9b63dda
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue