Merge pull request #184 from ponces/android-10.0

Fix exynos grep command to apply setprop correctly
This commit is contained in:
Pierre-Hugues HUSSON 2020-05-14 12:44:46 +02:00 committed by GitHub
commit 61899854d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -270,11 +270,11 @@ if getprop ro.vendor.build.fingerprint | grep -q -i \
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807;then
if getprop ro.vendor.product.device |grep -iq -e RMX1801 -e RMX1803 -e RMX1807;then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811;then
if getprop ro.build.overlay.deviceid |grep -q -e CPH1859 -e CPH1861 -e RMX1811;then
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
fi
@ -386,14 +386,14 @@ if busybox_phh unzip -p /vendor/app/ims/ims.apk classes.dex | grep -qF -e Landro
mount -o bind /system/phh/empty /vendor/app/ims/ims.apk
fi
if getprop ro.hardware | grep -qF samsungexynos -e exynos; then
if getprop ro.hardware | grep -qF exynos; then
setprop debug.sf.latch_unsignaled 1
fi
if getprop ro.product.model | grep -qF ANE; then
setprop debug.sf.latch_unsignaled 1
fi
if getprop ro.vendor.product.device | grep -q -e nora -e rhannah; then
setprop debug.sf.latch_unsignaled 1
fi