diff options
author | Dan Morrill <morrildl@google.com> | 2010-09-26 17:28:30 -0700 |
---|---|---|
committer | Dan Morrill <morrildl@google.com> | 2010-09-26 17:28:30 -0700 |
commit | 898e1e8860dea8490ba9208fca7965adf9cb8298 (patch) | |
tree | 6924c3d3d1f6c361385d7c579c515a93660fdc10 /core/java | |
parent | 8f5a1211dc14acb2ef1879b9dad12e3dbaf92e9e (diff) | |
download | frameworks_base-898e1e8860dea8490ba9208fca7965adf9cb8298.zip frameworks_base-898e1e8860dea8490ba9208fca7965adf9cb8298.tar.gz frameworks_base-898e1e8860dea8490ba9208fca7965adf9cb8298.tar.bz2 |
Adding a feature to indicate that the device possesses low-latency audio.
The specific criteria for low-latency audio are defined in the CDD, but since
that hasn't yet been settled for Gingerbread, this change doesn't go into
details. We can do a docs change later once GB CDD is final.
Change-Id: Ic5ad9d04e8ecd78c81b6f09439affec6bf8cb9b2
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/content/pm/PackageManager.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 1a3bcc4..cb6b708 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -636,6 +636,15 @@ public abstract class PackageManager { /** * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device's audio pipeline is low-latency, + * more suitable for audio applications sensitive to delays or lag in + * sound input or output. + */ + @SdkConstant(SdkConstantType.FEATURE) + public static final String FEATURE_AUDIO_LOW_LATENCY = "android.hardware.audio.low_latency"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and * {@link #hasSystemFeature}: The device is capable of communicating with * other devices via Bluetooth. */ |