diff options
author | Mike Lockwood <lockwood@google.com> | 2014-12-01 13:54:59 -0800 |
---|---|---|
committer | Mike Lockwood <lockwood@google.com> | 2014-12-08 10:45:37 -0800 |
commit | 67f8e8bd8927f24147d7a1edd6ec3db1a54233b2 (patch) | |
tree | 9f559cd794ceeb33e8b1a92bbdfcfe0937602c2c /core/java/android/content | |
parent | 0927c43c38c2ef12e8b15490adf0d5d3796c39b7 (diff) | |
download | frameworks_base-67f8e8bd8927f24147d7a1edd6ec3db1a54233b2.zip frameworks_base-67f8e8bd8927f24147d7a1edd6ec3db1a54233b2.tar.gz frameworks_base-67f8e8bd8927f24147d7a1edd6ec3db1a54233b2.tar.bz2 |
MIDI Manager work in progress
Still to do:
Add MidiInputPort and MidiOutputPort classes
Schedule sending MIDI events in the future
Security/permissions
Reconsider interface for virtual devices
Look into performance optimizations
Change-Id: I9b7d63b196996a04be0a830efa913043da1328a8
Diffstat (limited to 'core/java/android/content')
-rw-r--r-- | core/java/android/content/Context.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index e6bb09f..b0bfdb6 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -2142,6 +2142,7 @@ public abstract class Context { MEDIA_SESSION_SERVICE, BATTERY_SERVICE, JOB_SCHEDULER_SERVICE, + MIDI_SERVICE, }) @Retention(RetentionPolicy.SOURCE) public @interface ServiceName {} @@ -2915,6 +2916,15 @@ public abstract class Context { public static final String MEDIA_PROJECTION_SERVICE = "media_projection"; /** + * Use with {@link #getSystemService} to retrieve a + * {@link android.midi.MidiManager} for accessing the MIDI service. + * + * @see #getSystemService + * @hide + */ + public static final String MIDI_SERVICE = "midi"; + + /** * Determine whether the given permission is allowed for a particular * process and user ID running in the system. * |