diff options
author | Paul Mclean <pmclean@google.com> | 2015-08-07 17:12:47 +0000 |
---|---|---|
committer | Paul McLean <pmclean@google.com> | 2015-08-07 12:57:55 -0600 |
commit | 5fa8939d6f05b964897bd3703d8b56056c0d59ca (patch) | |
tree | 9d3cb83df917e398fcd977aa387f2c5b0f27c220 | |
parent | 69ed33087d77e32a1f1475adf00b9d87580960aa (diff) | |
download | frameworks_base-5fa8939d6f05b964897bd3703d8b56056c0d59ca.zip frameworks_base-5fa8939d6f05b964897bd3703d8b56056c0d59ca.tar.gz frameworks_base-5fa8939d6f05b964897bd3703d8b56056c0d59ca.tar.bz2 |
Revert "Add a (hidden) mapping for REMOTE_SUBMIX device types for CTS test."
This reverts commit 8b2562b14c37cd61f9c8e1b21e28cf57ff5b7523.
Change-Id: I731d01fd652e928ba331fa28bb09cc8234753fbf
-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(); |