Merge pull request #152 from jumper047/android-10.0
[Android 10][Begonia] Fix brightness and fingerprint sensor on Redmi Note 8 Pro
This commit is contained in:
commit
dd21e100b2
@ -84,7 +84,7 @@ changeKeylayout() {
|
|||||||
if getprop ro.vendor.build.fingerprint | grep -iq \
|
if getprop ro.vendor.build.fingerprint | grep -iq \
|
||||||
-e xiaomi/polaris -e xiaomi/sirius -e xiaomi/dipper \
|
-e xiaomi/polaris -e xiaomi/sirius -e xiaomi/dipper \
|
||||||
-e xiaomi/wayne -e xiaomi/jasmine -e xiaomi/jasmine_sprout \
|
-e xiaomi/wayne -e xiaomi/jasmine -e xiaomi/jasmine_sprout \
|
||||||
-e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl \
|
-e xiaomi/platina -e iaomi/perseus -e xiaomi/ysl -e Redmi/begonia\
|
||||||
-e xiaomi/nitrogen -e xiaomi/daisy -e xiaomi/sakura \
|
-e xiaomi/nitrogen -e xiaomi/daisy -e xiaomi/sakura \
|
||||||
-e xiaomi/whyred -e xiaomi/tulip -e xiaomi/onc; then
|
-e xiaomi/whyred -e xiaomi/tulip -e xiaomi/onc; then
|
||||||
if [ ! -f /mnt/phh/keylayout/uinput-goodix.kl ]; then
|
if [ ! -f /mnt/phh/keylayout/uinput-goodix.kl ]; then
|
||||||
@ -224,7 +224,7 @@ fi
|
|||||||
if getprop ro.vendor.build.fingerprint | grep -q -i \
|
if getprop ro.vendor.build.fingerprint | grep -q -i \
|
||||||
-e xiaomi/clover -e xiaomi/wayne -e xiaomi/sakura \
|
-e xiaomi/clover -e xiaomi/wayne -e xiaomi/sakura \
|
||||||
-e xiaomi/nitrogen -e xiaomi/whyred -e xiaomi/platina \
|
-e xiaomi/nitrogen -e xiaomi/whyred -e xiaomi/platina \
|
||||||
-e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip \
|
-e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip -e Redmi/begonia\
|
||||||
-e xiaomi/lavender -e xiaomi/olive -e xiaomi/olivelite -e xiaomi/pine; then
|
-e xiaomi/lavender -e xiaomi/olive -e xiaomi/olivelite -e xiaomi/pine; 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
|
||||||
|
Loading…
Reference in New Issue
Block a user