On ZF8, take stock rom audio policy, rather than the worse ones intended for GSI or QSSI
This commit is contained in:
parent
2f79cf8662
commit
5e6061d5fd
@ -642,6 +642,13 @@ if getprop ro.vendor.build.fingerprint | grep -q -e nubia/NX669; then
|
|||||||
mount /vendor/etc/audio/sku_${sku}_qssi/audio_policy_configuration.xml /vendor/etc/audio/sku_$sku/audio_policy_configuration.xml
|
mount /vendor/etc/audio/sku_${sku}_qssi/audio_policy_configuration.xml /vendor/etc/audio/sku_$sku/audio_policy_configuration.xml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# For ZF8, the "best" audio policy isn't the one for QSSI
|
||||||
|
if getprop ro.vendor.build.fingerprint |grep -q -e /ASUS_I006D:;then
|
||||||
|
umount /vendor/etc/audio
|
||||||
|
sku="$(getprop ro.boot.product.vendor.sku)"
|
||||||
|
mount /vendor/etc/audio/ZS590KS/audio_policy_configuration_ZS590KS.xml /vendor/etc/audio/sku_$sku/audio_policy_configuration.xml
|
||||||
|
fi
|
||||||
|
|
||||||
setprop ctl.stop console
|
setprop ctl.stop console
|
||||||
dmesg -n 1
|
dmesg -n 1
|
||||||
if [ -f /system/phh/secure ];then
|
if [ -f /system/phh/secure ];then
|
||||||
|
Loading…
Reference in New Issue
Block a user