OSDN Git Service

Add feature android.hardware.audio.output xml file
authorUnsuk Jung <unsuk@google.com>
Wed, 3 Sep 2014 01:46:59 +0000 (18:46 -0700)
committerUnsuk Jung <unsuk@google.com>
Sun, 7 Sep 2014 01:54:36 +0000 (01:54 +0000)
Bug: 15318046
Change-Id: I49f0881752493ac0bad238b43ce7e1e147119528

data/etc/android.hardware.audio.output.xml [new file with mode: 0644]
data/etc/handheld_core_hardware.xml
data/etc/tablet_core_hardware.xml
data/etc/wearable_core_hardware.xml

diff --git a/data/etc/android.hardware.audio.output.xml b/data/etc/android.hardware.audio.output.xml
new file mode 100644 (file)
index 0000000..6ea1234
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<!-- This is the standard feature indicating audio output support of the device,
+     as specified in the CDD. ONLY devices that meet the CDD's requirements may
+     declare this feature. -->
+<permissions>
+    <feature name="android.hardware.audio.output" />
+</permissions>
index f18e4b1..7d70a5d 100644 (file)
@@ -23,6 +23,7 @@
      devices.
 -->
 <permissions>
+    <feature name="andriod.hardware.audio.output" />
     <feature name="android.hardware.camera" />
     <feature name="android.hardware.location" />
     <feature name="android.hardware.location.network" />
index 4db2e57..321b2af 100644 (file)
@@ -23,6 +23,7 @@
      devices.
 -->
 <permissions>
+    <feature name="android.hardware.audio.output" />
     <feature name="android.hardware.location" />
     <feature name="android.hardware.location.network" />
     <feature name="android.hardware.sensor.compass" />
index 09a064a..a9314d2 100644 (file)
@@ -60,4 +60,6 @@
     <!-- Devices that have low-latency audio stacks suitable for apps like
          VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
          that meet the requirements specified in the CDD may include this. -->
+    <!-- devices that have audio output capability as specified in the CDD must
+         also include android.hardware.audio.output.xml -->
 </permissions>