diff --git a/common.mk b/common.mk index ef83bfea557927c70a2c80c0155a177fb4aad55b..275cebbf75837a78973452acef7ee2d5e623e672 100644 --- a/common.mk +++ b/common.mk @@ -69,7 +69,8 @@ PRODUCT_COPY_FILES += \ # Component override PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml + $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \ + $(LOCAL_PATH)/configs/component-overrides_qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/component-overrides.xml # FM PRODUCT_PACKAGES += \ diff --git a/configs/component-overrides.xml b/configs/component-overrides.xml index 482c75402a79b7c5cfd86d31e6eaa35ee076af02..1d749b299b4d475d9c24c4b34138606ebc07e7f7 100644 --- a/configs/component-overrides.xml +++ b/configs/component-overrides.xml @@ -12,12 +12,6 @@ --> <config> <component-override package="com.android.bluetooth" > - <component class=".a2dpsink.A2dpSinkService" enabled="true" /> - <component class=".avrcp.AvrcpTargetService" enabled="false" /> - <component class=".avrcpcontroller.AvrcpControllerService" enabled="true" /> - <component class=".ba.BATService" enabled="true" /> - <component class=".hfpclient.HeadsetClientService" enabled="false" /> - <component class=".hid.HidDeviceService" enabled="false" /> <component class=".sap.SapService" enabled="false" /> </component-override> </config> diff --git a/configs/component-overrides_qti.xml b/configs/component-overrides_qti.xml new file mode 100644 index 0000000000000000000000000000000000000000..3be7969ad49ffa1ca0f902c45c9168cf5c456970 --- /dev/null +++ b/configs/component-overrides_qti.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> +<config> + <component-override package="com.android.bluetooth" > + <component class=".a2dpsink.A2dpSinkService" enabled="true" /> + <component class=".avrcp.AvrcpTargetService" enabled="false" /> + <component class=".avrcpcontroller.AvrcpControllerService" enabled="true" /> + <component class=".ba.BATService" enabled="true" /> + <component class=".hfpclient.HeadsetClientService" enabled="false" /> + <component class=".hid.HidDeviceService" enabled="false" /> + </component-override> +</config>