summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/etc/init.qcom.rc10
-rw-r--r--system_prop.mk5
2 files changed, 4 insertions, 11 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 5620d45..5c7067d 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -41,16 +41,6 @@ on init
chown system system /dev/block/mmcblk0p1
chmod 0770 /dev/block/mmcblk0p1
- # Bluetooth address setting
- setprop ro.bt.bdaddr_path "/data/etc/bluetooth_bdaddr"
- chown bluetooth bluetooth ro.bt.bdaddr_path
-
- #Enable Bluetooth HFP 1.6
- setprop ro.bluetooth.hfp.ver 1.6
-
- #Disable Bluetooth A2DP SNK
- setprop bluetooth.a2dp.sink.enabled false
-
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
# Enable panic on out of memory
diff --git a/system_prop.mk b/system_prop.mk
index 69a505b..80e460a 100644
--- a/system_prop.mk
+++ b/system_prop.mk
@@ -49,8 +49,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.fluence.voicerec=false \
ro.vendor.audio.sdk.fluencetype=fluence
-# Bluetooth rfkill
+# Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \
+ bluetooth.a2dp.sink.enabled=false \
+ ro.bluetooth.hfp.ver=1.6 \
+ ro.bt.bdaddr_path="/data/etc/bluetooth_bdaddr" \
ro.rfkilldisabled=1
# Semc