sm8250-common: Use component-override to configure Bluetooth

Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
This commit is contained in:
Ryan Mitchell
2019-10-10 08:09:29 -07:00
committed by LuK1337
parent 08b67c59e8
commit 1d9989ef3d
4 changed files with 26 additions and 76 deletions

View File

@@ -234,6 +234,10 @@ PRODUCT_PACKAGES += \
vendor.oem_ftm.rc \
vendor.oem_ftm_svc_disable.rc
# Component overrides
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml
# Display
PRODUCT_PACKAGES += \
libdisplayconfig.qti \