aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2019-09-30 17:37:29 +0200
committerArian <arian.kulmer@web.de>2019-10-25 22:17:13 +0200
commitccda84ecf67b6379466f06384a88b0e11d16e3b0 (patch)
treea9b689cc4d049f8ac85c25f358af64792da0384e
parent97ce75965ec0b972294d2bcb609d8df18a7053d0 (diff)
shinano-common: rootdir: Set bluetooth properties from makefile
Change-Id: I1b2ac64116c056000bf482a613b0a4904f73b1ae
-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