Permalink
Browse files

add media profiles

  • Loading branch information...
charansingh committed Jan 24, 2011
1 parent 338d768 commit d903e4312ec64957cd34aed3503d6fa90db21670
Showing with 32 additions and 2 deletions.
  1. +2 −2 leo.mk
  2. +30 −0 media_a1026.mk
View
4 leo.mk
@@ -135,8 +135,8 @@ PRODUCT_COPY_FILES += \
device/htc/leo/modules/2.6.32/kernel/fs/cifs/cifs.ko:system/lib/modules/2.6.32/kernel/fs/cifs/cifs.ko \
device/htc/leo/modules/2.6.32/kernel/fs/ext4/ext4.ko:system/lib/modules/2.6.32/kernel/fs/ext4/ext4.ko
-
-
+# media profiles and capabilities spec
+$(call inherit-product, device/htc/glacier/media_a1026.mk)
# stuff common to all HTC phones
$(call inherit-product, device/htc/common/common.mk)
View
@@ -0,0 +1,30 @@
+#
+# Copyright (C) 2009 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 file describes the use of the A1026 chip by the media
+# framework using system properties.
+#
+# Note: The property key and value has some length
+# limit as defined by PROPERTY_KEY_MAX and
+# PROPERTY_VALUE_MAX, respectively
+#
+# WARNING: We may not use system properties for specifying
+# media capabilities and profiles in the future
+#
+PRODUCT_PROPERTY_OVERRIDES += \
+ media.a1026.nsForVoiceRec = 0 \
+ media.a1026.enableA1026 = 1

0 comments on commit d903e43

Please sign in to comment.