summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-05-06 15:54:49 -0700
committerGlenn Kasten <gkasten@google.com>2015-05-08 10:09:22 -0700
commitcdcb57791f8392ae37bf80deb33b3d0282260405 (patch)
tree14bbc15c8cc2af838fdb2f6ba9cd2dbc0083584e /core
parent1336c2c68df5761af174d93f42a478ea752e2a5c (diff)
downloadframeworks_base-cdcb57791f8392ae37bf80deb33b3d0282260405.zip
frameworks_base-cdcb57791f8392ae37bf80deb33b3d0282260405.tar.gz
frameworks_base-cdcb57791f8392ae37bf80deb33b3d0282260405.tar.bz2
Add feature for pro audio
The specification for CDD is in progress Bug: 20877157 Change-Id: Iaf37b2ccb21562170a080b53668a41b85c410241
Diffstat (limited to 'core')
-rw-r--r--core/java/android/content/pm/PackageManager.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java
index 7ff6ec3..51fa075 100644
--- a/core/java/android/content/pm/PackageManager.java
+++ b/core/java/android/content/pm/PackageManager.java
@@ -1067,6 +1067,13 @@ public abstract class PackageManager {
public static final String FEATURE_AUDIO_OUTPUT = "android.hardware.audio.output";
/**
+ * Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
+ * The device has professional audio level of functionality, performance, and acoustics.
+ */
+ @SdkConstant(SdkConstantType.FEATURE)
+ public static final String FEATURE_AUDIO_PRO = "android.hardware.audio.pro";
+
+ /**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature}: The device is capable of communicating with
* other devices via Bluetooth.