Commit graph

5 commits

Author SHA1 Message Date
clarencelol
ebd421dc9a sdm660-common: Aosp-ify bluetooth
* Nullified remaining QTI Bluetooth remnants
* Remove some props
* Using usb audio hal from source

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Michael Bestas
6dfe4bff76 sdm660-common: Enable HidDeviceService
* Turns out component-overrides doesn't handle the case where
  a feature is enabled in config.xml but disabled in overrides.
  Explicitly disabling HidDeviceService causes bluetooth to
  time out while turning on and stuck in a crash loop.

Change-Id: Idcb678d03c5dc872942fd0fda9aabcbb5f5c9a55
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
sbwml
2f202d0906
sdm660-common: component-override: Enable hfpclient support 2021-03-02 23:47:30 +06:00
Danny Trunk
2e38a35b69
sdm660-common: bluetooth: Use default value for HID profile
Do not explicitly set HID profile to false for SDM660 SoC based Xiaomi devices

Change-Id: I38dc9b68cad05624a6a22051af2079cfd4a9e698
2020-12-30 22:06:56 +06:00
Ryan Mitchell
1e203fcfbe
sdm660-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
2020-12-30 22:06:56 +06:00