sdm845-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 Bruno Martins
parent 9eee8ea107
commit 1306d78ba3
3 changed files with 28 additions and 6 deletions

View File

@ -15,11 +15,6 @@
--> -->
<config> <config>
<component-override package="com.android.bluetooth" > <component-override package="com.android.bluetooth" >
<component class=".avrcp.AvrcpTargetService" enabled="false" />
<component class=".avrcpcontroller.AvrcpControllerService" enabled="true" />
<component class=".ba.BATService" enabled="true" />
<component class=".hid.HidDeviceService" enabled="true" />
<component class=".hid.HidHostService" enabled="true" />
<component class=".sap.SapService" enabled="true" /> <component class=".sap.SapService" enabled="true" />
</component-override> </component-override>
</config> </config>

View File

@ -0,0 +1,26 @@
<?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="true" />
<component class=".hid.HidHostService" enabled="true" />
</component-override>
</config>

View File

@ -16,7 +16,8 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
# Component overrides # Component overrides
PRODUCT_COPY_FILES += \ 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
# Overlays # Overlays
DEVICE_PACKAGE_OVERLAYS += \ DEVICE_PACKAGE_OVERLAYS += \