sdm710-common: Fix a2dp
This commit is contained in:
parent
3e5e42415f
commit
b77e83d232
5 changed files with 24 additions and 0 deletions
8
BluetoothResCommon/Android.mk
Normal file
8
BluetoothResCommon/Android.mk
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_PACKAGE_NAME := BluetoothResCommon
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
|
||||||
|
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||||
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||||
|
include $(BUILD_PACKAGE)
|
3
BluetoothResCommon/AndroidManifest.xml
Normal file
3
BluetoothResCommon/AndroidManifest.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="com.android.bluetooth.overlay.common" platformBuildVersionCode="28" platformBuildVersionName="9">
|
||||||
|
<overlay android:isStatic="true" android:targetPackage="com.android.bluetooth"/>
|
||||||
|
</manifest>
|
7
BluetoothResCommon/res/values/bools.xml
Normal file
7
BluetoothResCommon/res/values/bools.xml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<bool name="profile_supported_avrcp_controller">true</bool>
|
||||||
|
<bool name="profile_supported_sap">true</bool>
|
||||||
|
<bool name="profile_supported_hid_device">false</bool>
|
||||||
|
<bool name="profile_supported_ba">true</bool>
|
||||||
|
</resources>
|
|
@ -1,4 +1,6 @@
|
||||||
on boot
|
on boot
|
||||||
|
mount none /system/overlay/BluetoothResCommon.apk /vendor/overlay/BluetoothResCommon.apk bind
|
||||||
|
|
||||||
# Touchscreen
|
# Touchscreen
|
||||||
chown system system /proc/touchpanel/double_tap_enable
|
chown system system /proc/touchpanel/double_tap_enable
|
||||||
chown 0660 /proc/touchpanel/double_tap_enable
|
chown 0660 /proc/touchpanel/double_tap_enable
|
||||||
|
|
|
@ -25,6 +25,10 @@ PRODUCT_PACKAGES += \
|
||||||
audio.a2dp.default \
|
audio.a2dp.default \
|
||||||
tinymix
|
tinymix
|
||||||
|
|
||||||
|
# Bluetooth
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
BluetoothResCommon
|
||||||
|
|
||||||
# Common init scripts
|
# Common init scripts
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
init.target.rc
|
init.target.rc
|
||||||
|
|
Loading…
Reference in a new issue