mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
fix headphone 4 sure
this is the only samsung phone with qcom chipset + treble so far which means we need to revert the usage of /dev/input for headset instead of the normal h2w in /sys/devices/virtual/switch/h2w
This commit is contained in:
parent
2c3225a51f
commit
bc6f0640e0
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Audio
|
# Audio
|
||||||
AUDIO_FEATURE_ENABLED_LOW_LATENCY_CAPTURE := true
|
#AUDIO_FEATURE_ENABLED_LOW_LATENCY_CAPTURE := true
|
||||||
BOARD_USES_ALSA_AUDIO := true
|
BOARD_USES_ALSA_AUDIO := true
|
||||||
USE_CUSTOM_AUDIO_POLICY := 1
|
#USE_CUSTOM_AUDIO_POLICY := 1
|
||||||
|
#USE_XML_AUDIO_POLICY_CONF := 1
|
||||||
|
|
|
@ -77,6 +77,9 @@ on fs
|
||||||
start debug_log
|
start debug_log
|
||||||
|
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
|
# Fix headset h2w switch not recognized (theres no sammy phone with qcom + treble yet #FIRST #WINNER :D )
|
||||||
|
setprop persist.sys.overlay.devinputjack false
|
||||||
|
|
||||||
# Create the directories used by CnE subsystem
|
# Create the directories used by CnE subsystem
|
||||||
mkdir /data/connectivity 0771 system system
|
mkdir /data/connectivity 0771 system system
|
||||||
chown system system /data/connectivity
|
chown system system /data/connectivity
|
||||||
|
|
Loading…
Reference in a new issue