summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2015-04-29 21:15:25 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-29 21:15:25 +0000
commit62b4cbceb33dc657cfaee2971ad6bc3d1aab3fbb (patch)
tree70d238beda846681d20638d8adcd9e9fa9a6829d /media
parent8756f9b34dd04cabae7487bd1941008a6c98c4c6 (diff)
parentbcec6a4980366f10182c8dc09ec1eff6f78d7043 (diff)
downloadframeworks_base-62b4cbceb33dc657cfaee2971ad6bc3d1aab3fbb.zip
frameworks_base-62b4cbceb33dc657cfaee2971ad6bc3d1aab3fbb.tar.gz
frameworks_base-62b4cbceb33dc657cfaee2971ad6bc3d1aab3fbb.tar.bz2
am bcec6a49: am e1d00395: Merge "MidiDeviceInfo: Add version string property" into mnc-dev
* commit 'bcec6a4980366f10182c8dc09ec1eff6f78d7043': MidiDeviceInfo: Add version string property
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/midi/MidiDeviceInfo.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/media/java/android/media/midi/MidiDeviceInfo.java b/media/java/android/media/midi/MidiDeviceInfo.java
index af108eb..35374ed 100644
--- a/media/java/android/media/midi/MidiDeviceInfo.java
+++ b/media/java/android/media/midi/MidiDeviceInfo.java
@@ -69,6 +69,13 @@ public final class MidiDeviceInfo implements Parcelable {
public static final String PROPERTY_PRODUCT = "product";
/**
+ * Bundle key for the device's version property.
+ * Used with the {@link android.os.Bundle} returned by {@link #getProperties}
+ * Matches the USB device version number for USB MIDI devices.
+ */
+ public static final String PROPERTY_VERSION = "version";
+
+ /**
* Bundle key for the device's serial number property.
* Used with the {@link android.os.Bundle} returned by {@link #getProperties}
* Matches the USB device serial number for USB MIDI devices.