Merge pull request #184 from ponces/android-10.0
Fix exynos grep command to apply setprop correctly
This commit is contained in:
commit
61899854d4
@ -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)"
|
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
|
||||||
fi
|
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)"
|
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
|
||||||
fi
|
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)"
|
setprop persist.sys.qcom-brightness "$(cat /sys/class/leds/lcd-backlight/max_brightness)"
|
||||||
fi
|
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
|
mount -o bind /system/phh/empty /vendor/app/ims/ims.apk
|
||||||
fi
|
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
|
setprop debug.sf.latch_unsignaled 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if getprop ro.product.model | grep -qF ANE; then
|
if getprop ro.product.model | grep -qF ANE; then
|
||||||
setprop debug.sf.latch_unsignaled 1
|
setprop debug.sf.latch_unsignaled 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if getprop ro.vendor.product.device | grep -q -e nora -e rhannah; then
|
if getprop ro.vendor.product.device | grep -q -e nora -e rhannah; then
|
||||||
setprop debug.sf.latch_unsignaled 1
|
setprop debug.sf.latch_unsignaled 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user