Use Huawei backlight RRO when detecting a Huawei device
This commit is contained in:
parent
e59aa1bc35
commit
903725538c
@ -11,5 +11,11 @@ done
|
|||||||
|
|
||||||
mount -o bind /system/bin/adbd /sbin/adbd
|
mount -o bind /system/bin/adbd /sbin/adbd
|
||||||
if ( getprop ro.hardware | grep -q kirin970 ) || ( getprop ro.hardware | grep -q hi6250 );then
|
if ( getprop ro.hardware | grep -q kirin970 ) || ( getprop ro.hardware | grep -q hi6250 );then
|
||||||
|
FOUND_HUAWEI=1
|
||||||
setprop persist.sys.bt_acl_bypass true
|
setprop persist.sys.bt_acl_bypass true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if getprop ro.vendor.build.fingerprint |grep -qiE '(huawei|honor|hi3660)' || [ -n "$FOUND_HUAWEI" ];then
|
||||||
|
FOUND_HUAWEI=1
|
||||||
|
setprop persist.sys.overlay.huawei.backlight true
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user