Set audio rotation on Samsung + Razer

This commit is contained in:
Pierre-Hugues Husson 2019-05-03 23:47:14 +02:00
parent 04ed4ac7fd
commit 75a2e0f64f
1 changed files with 7 additions and 0 deletions

View File

@ -278,9 +278,16 @@ if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*"
"/mnt/phh/$b"
chcon "$ctxt" "/mnt/phh/$b"
mount -o bind "/mnt/phh/$b" "$f"
setprop ro.audio.monitorRotation true
done
fi
# This matches both Razer Phone 1 & 2
if getprop ro.vendor.build.fingerprint |grep -qE razer/cheryl;then
setprop ro.audio.monitorRotation true
fi
if getprop ro.vendor.build.fingerprint | grep -qiE '^samsung'; then
if getprop ro.hardware | grep -q qcom; then
setprop persist.sys.overlay.devinputjack false