diff options
| author | Mike Lockwood <lockwood@google.com> | 2015-05-02 16:09:45 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-02 16:09:47 +0000 |
| commit | 5ba44affe6747d2995030005bd99471d621d6e79 (patch) | |
| tree | 26c2104290ae4900a5830a70d83f80a040ede82b /core | |
| parent | 9eb25fad188e48fb3adafe1043f2014357cce898 (diff) | |
| parent | 8c26d843a786e5ee56046245fbf72a81b533bcb9 (diff) | |
| download | frameworks_base-5ba44affe6747d2995030005bd99471d621d6e79.zip frameworks_base-5ba44affe6747d2995030005bd99471d621d6e79.tar.gz frameworks_base-5ba44affe6747d2995030005bd99471d621d6e79.tar.bz2 | |
Merge "BluetoothMidiService: Add support for sending SysEx messages that span multiple Bluetooth packets" into mnc-dev
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/com/android/internal/midi/MidiConstants.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/com/android/internal/midi/MidiConstants.java b/core/java/com/android/internal/midi/MidiConstants.java index f78f75a..c13e5fc 100644 --- a/core/java/com/android/internal/midi/MidiConstants.java +++ b/core/java/com/android/internal/midi/MidiConstants.java @@ -87,13 +87,13 @@ public final class MidiConstants { } // Returns true if this command can be used for running status - public static boolean allowRunningStatus(int command) { + public static boolean allowRunningStatus(byte command) { // only Channel Voice and Channel Mode commands can use running status return (command >= STATUS_NOTE_OFF && command < STATUS_SYSTEM_EXCLUSIVE); } // Returns true if this command cancels running status - public static boolean cancelsRunningStatus(int command) { + public static boolean cancelsRunningStatus(byte command) { // System Common messages cancel running status return (command >= STATUS_SYSTEM_EXCLUSIVE && command <= STATUS_END_SYSEX); } |
