Merge pull request #247 from TTTT555/patch-1
begonia: Drop deprecated props
This commit is contained in:
commit
51964b08c2
@ -300,7 +300,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 Redmi/merlin \
|
-e xiaomi/nitrogen -e xiaomi/whyred -e xiaomi/platina -e Redmi/merlin \
|
||||||
-e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip -e Redmi/begonia\
|
-e xiaomi/ysl -e nubia/nx60 -e nubia/nx61 -e xiaomi/tulip \
|
||||||
-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
|
||||||
@ -393,8 +393,7 @@ for f in /vendor/lib/mtk-ril.so /vendor/lib64/mtk-ril.so /vendor/lib/libmtk-ril.
|
|||||||
setprop persist.sys.radio.ussd.fix true
|
setprop persist.sys.radio.ussd.fix true
|
||||||
done
|
done
|
||||||
|
|
||||||
if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus \
|
if getprop ro.vendor.build.fingerprint | grep -iq -e iaomi/cactus -e iaomi/cereus; then
|
||||||
-e Redmi/begonia; then
|
|
||||||
setprop debug.stagefright.omx_default_rank.sw-audio 1
|
setprop debug.stagefright.omx_default_rank.sw-audio 1
|
||||||
setprop debug.stagefright.omx_default_rank 0
|
setprop debug.stagefright.omx_default_rank 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user