Merge pull request #103 from tytydraco/android-9.0

Disable broken led:torch_2 trigger on Mi A2 / Mi 6X
This commit is contained in:
Pierre-Hugues HUSSON 2019-05-06 22:10:38 +02:00 committed by GitHub
commit 85d4e98941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,6 +204,7 @@ if getprop ro.vendor.build.fingerprint | grep -q -i -e xiaomi/wayne -e xiaomi/ja
setprop persist.imx376_sunny.light.lux 280 setprop persist.imx376_sunny.light.lux 280
setprop persist.imx376_ofilm.low.lux 310 setprop persist.imx376_ofilm.low.lux 310
setprop persist.imx376_ofilm.light.lux 280 setprop persist.imx376_ofilm.light.lux 280
echo "none" > /sys/class/leds/led:torch_2/trigger
fi fi
for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.so /vendor/lib64/libmtk-ril.so; do for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.so /vendor/lib64/libmtk-ril.so; do