sm6250-common: Split component-overrides to support pure aosp/qti bt stack

Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
This commit is contained in:
PIPIPIG233666 2020-11-01 17:51:18 -05:00 committed by Demon000
parent a6db72a1fc
commit 5663d13d8b
3 changed files with 24 additions and 7 deletions

View File

@ -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 += \

View File

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

View File

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