diff options
author | Paul Mclean <pmclean@google.com> | 2015-08-10 13:40:58 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-08-10 13:40:58 +0000 |
commit | beda6e2b9abf576e7d33b520232d45b34a4ed168 (patch) | |
tree | 373788dedda7ea0f3b2449f20af97cde9e6b8c60 | |
parent | 90b030bae8cc1f13da7948fef4aff1d171a2885a (diff) | |
parent | 5fa8939d6f05b964897bd3703d8b56056c0d59ca (diff) | |
download | frameworks_base-beda6e2b9abf576e7d33b520232d45b34a4ed168.zip frameworks_base-beda6e2b9abf576e7d33b520232d45b34a4ed168.tar.gz frameworks_base-beda6e2b9abf576e7d33b520232d45b34a4ed168.tar.bz2 |
Merge "Revert "Add a (hidden) mapping for REMOTE_SUBMIX device types for CTS test."" into mnc-dev
-rw-r--r-- | media/java/android/media/AudioDeviceInfo.java | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/media/java/android/media/AudioDeviceInfo.java b/media/java/android/media/AudioDeviceInfo.java index fef65ee..7f22b8a 100644 --- a/media/java/android/media/AudioDeviceInfo.java +++ b/media/java/android/media/AudioDeviceInfo.java @@ -111,14 +111,6 @@ public final class AudioDeviceInfo { * A device type connected over IP. */ public static final int TYPE_IP = 20; - /** - * @hide - * A remote-submix device. - * We need this for CTS, but it is not part of the external API. - * FIXME It has been suggested that CTS should only be testing public APIs. - * Consider this for a public API. - */ - public static final int TYPE_REMOTE_SUBMIX = 0x7FFF; private final AudioDevicePort mPort; @@ -286,7 +278,6 @@ public final class AudioDeviceInfo { INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_OUT_FM, TYPE_FM); INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_OUT_AUX_LINE, TYPE_AUX_LINE); INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_OUT_IP, TYPE_IP); - INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_OUT_REMOTE_SUBMIX, TYPE_REMOTE_SUBMIX); INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_IN_BUILTIN_MIC, TYPE_BUILTIN_MIC); INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_IN_BLUETOOTH_SCO_HEADSET, TYPE_BLUETOOTH_SCO); @@ -304,7 +295,10 @@ public final class AudioDeviceInfo { INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_IN_SPDIF, TYPE_LINE_DIGITAL); INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_IN_BLUETOOTH_A2DP, TYPE_BLUETOOTH_A2DP); INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_IN_IP, TYPE_IP); - INT_TO_EXT_DEVICE_MAPPING.put(AudioSystem.DEVICE_IN_REMOTE_SUBMIX, TYPE_REMOTE_SUBMIX); + + // not covered here, legacy + //AudioSystem.DEVICE_OUT_REMOTE_SUBMIX + //AudioSystem.DEVICE_IN_REMOTE_SUBMIX // privileges mapping to output device EXT_TO_INT_DEVICE_MAPPING = new SparseIntArray(); |