commit | 32bfb874e32991685150ad7b9e8785b2b0ec9a7e | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Fri Oct 30 14:26:34 2015 -0700 |
committer | Phil Burk <philburk@google.com> | Mon Nov 02 10:30:34 2015 -0800 |
tree | f551cbf4e141fe4b49686cda7502863eee5350fd | |
parent | 2cce579ed234711bbffb4ec0181c0e7bc4f4805b [diff] |
UsbMidiDeviceJNI: fix race condition Try multiple times to open the MIDI control device. This fixes a race condition that caused Android to sometimes not see a USB MIDI keyboard when it was plugged in. Bug: 25328161 Change-Id: Ic72c5859364fc56bf7a40c1b1c9791c42827ea63 Signed-off-by: Phil Burk <philburk@google.com>