diff options
author | Mike Lockwood <lockwood@google.com> | 2015-05-12 13:32:16 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@google.com> | 2015-05-12 13:39:56 -0700 |
commit | 7eb441cb4abcd3230a4d243469c5044f49e707c8 (patch) | |
tree | e266b002b3f4ba3f0ea1857ec2bf2265eaef464c /services/midi/java/com | |
parent | 4bd4121d584e16c700ba08828c675b7f906ff331 (diff) | |
download | frameworks_base-7eb441cb4abcd3230a4d243469c5044f49e707c8.zip frameworks_base-7eb441cb4abcd3230a4d243469c5044f49e707c8.tar.gz frameworks_base-7eb441cb4abcd3230a4d243469c5044f49e707c8.tar.bz2 |
MidiManager: Address API Council feedback:
Rename MidiDeviceInfo.getPortList() to getPorts()
Rename MidiManager.getDeviceList() to getDevices()
Rename MidiReceiver.onReceive() to onSend()
Replace MidiManager.DeviceOpenCallback and BluetoothOpenCallback
with new interface MidiManager.OnDeviceOpenedListener
Add MidiSender.onConnect() and onDisconnect()
Add MidiReceiver.onFlush()
Ensure that MidiReceiver max message size is immutable
Bug: 21044677
Change-Id: I7711734a45e831e9744849a6f569e906feff9f80
Diffstat (limited to 'services/midi/java/com')
-rw-r--r-- | services/midi/java/com/android/server/midi/MidiService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/midi/java/com/android/server/midi/MidiService.java b/services/midi/java/com/android/server/midi/MidiService.java index 176f54b..370f125 100644 --- a/services/midi/java/com/android/server/midi/MidiService.java +++ b/services/midi/java/com/android/server/midi/MidiService.java @@ -339,7 +339,7 @@ public class MidiService extends IMidiManager.Stub { private static final MidiDeviceInfo[] EMPTY_DEVICE_INFO_ARRAY = new MidiDeviceInfo[0]; - public MidiDeviceInfo[] getDeviceList() { + public MidiDeviceInfo[] getDevices() { ArrayList<MidiDeviceInfo> deviceInfos = new ArrayList<MidiDeviceInfo>(); int uid = Binder.getCallingUid(); |