1# 2# This is a workaround for Bluetooth not working on OnePlus7 Pro. See b/139486342 3# 4 5LOCAL_PATH := $(call my-dir) 6 7include $(CLEAR_VARS) 8 9LOCAL_MODULE := BluetoothQtiSymlink 10 11lib_dir := $(PRODUCT_OUT)/system/lib 12bluetooth_qti := libbluetooth_qti.so 13bluetooth := libbluetooth.so 14bluetooth_qti_path := $(lib_dir)/$(bluetooth_qti) 15bluetooth_path := $(lib_dir)/$(bluetooth) 16 17$(bluetooth_qti_path): $(bluetooth_path) 18 cd $(lib_dir) && ln -sf $(bluetooth) $(bluetooth_qti) 19 20droid: $(bluetooth_qti_path) 21