add media profiles

This commit is contained in:
charansingh 2011-01-24 16:54:09 +05:30
parent 338d768a66
commit d903e4312e
2 changed files with 32 additions and 2 deletions

4
leo.mk
View File

@ -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)

30
media_a1026.mk Normal file
View File

@ -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