diff --git a/BluetoothResCommon/Android.mk b/BluetoothResCommon/Android.mk new file mode 100644 index 0000000..cadebbc --- /dev/null +++ b/BluetoothResCommon/Android.mk @@ -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) diff --git a/BluetoothResCommon/AndroidManifest.xml b/BluetoothResCommon/AndroidManifest.xml new file mode 100644 index 0000000..f46a3ea --- /dev/null +++ b/BluetoothResCommon/AndroidManifest.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/BluetoothResCommon/res/values/bools.xml b/BluetoothResCommon/res/values/bools.xml new file mode 100644 index 0000000..5c3253f --- /dev/null +++ b/BluetoothResCommon/res/values/bools.xml @@ -0,0 +1,7 @@ + + + true + true + false + true + diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index ec3eeae..cc3c2d4 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -1,4 +1,6 @@ on boot + mount none /system/overlay/BluetoothResCommon.apk /vendor/overlay/BluetoothResCommon.apk bind + # Touchscreen chown system system /proc/touchpanel/double_tap_enable chown 0660 /proc/touchpanel/double_tap_enable diff --git a/sdm710.mk b/sdm710.mk index 03ff921..be2862f 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -25,6 +25,10 @@ PRODUCT_PACKAGES += \ audio.a2dp.default \ tinymix +# Bluetooth +PRODUCT_PACKAGES += \ + BluetoothResCommon + # Common init scripts PRODUCT_PACKAGES += \ init.target.rc