Set audio rotation on Samsung + Razer
This commit is contained in:
parent
04ed4ac7fd
commit
75a2e0f64f
@ -278,9 +278,16 @@ if getprop ro.vendor.build.fingerprint | grep -qE -e ".*(crown|star)[q2]*lte.*"
|
|||||||
"/mnt/phh/$b"
|
"/mnt/phh/$b"
|
||||||
chcon "$ctxt" "/mnt/phh/$b"
|
chcon "$ctxt" "/mnt/phh/$b"
|
||||||
mount -o bind "/mnt/phh/$b" "$f"
|
mount -o bind "/mnt/phh/$b" "$f"
|
||||||
|
|
||||||
|
setprop ro.audio.monitorRotation true
|
||||||
done
|
done
|
||||||
fi
|
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.vendor.build.fingerprint | grep -qiE '^samsung'; then
|
||||||
if getprop ro.hardware | grep -q qcom; then
|
if getprop ro.hardware | grep -q qcom; then
|
||||||
setprop persist.sys.overlay.devinputjack false
|
setprop persist.sys.overlay.devinputjack false
|
||||||
|
Loading…
Reference in New Issue
Block a user