Merge "common: Enabling overlays to override default resources" into jb

This commit is contained in:
Linux Build Service Account 2012-07-13 19:59:59 -07:00 committed by QuIC Gerrit Code Review
commit 552c9a4be9
2 changed files with 38 additions and 0 deletions

View File

@ -501,6 +501,10 @@ PRODUCT_COPY_FILES := \
PRODUCT_COPY_FILES += device/qcom/common/media/media_profiles.xml:system/etc/media_profiles.xml \
device/qcom/common/media/media_codecs.xml:system/etc/media_codecs.xml
# enable overlays to use our version of
# source/resources etc.
PRODUCT_PACKAGE_OVERLAYS := device/qcom/common/overlay
# include additional build utilities
-include device/qcom/common/utils.mk

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (c) 2012, Code Aurora Forum. All rights reserved.
Not a Contribution, Apache license notifications and license are retained
for attribution purposes only.
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.
-->
<!-- Phone app resources that may need to be customized
for different hardware or product builds. -->
<resources>
<!-- Flag indicating if the phone is a world phone -->
<bool name="world_phone">true</bool>
<!-- Determine whether calls to mute the microphone in PhoneUtils
are routed through the android.media.AudioManager class (true) or through
the com.android.internal.telephony.Phone interface (false). -->
<bool name="send_mic_mute_to_AudioManager">true</bool>
<!-- Flag indicating if the tty is enabled -->
<bool name="tty_enabled">true</bool>
</resources>