Force ro.vndk.version 26 when we detect vndk 26
This commit is contained in:
parent
120df2523a
commit
1e15460c80
@ -8,6 +8,11 @@
|
|||||||
|
|
||||||
vndk="$(getprop persist.sys.vndk)"
|
vndk="$(getprop persist.sys.vndk)"
|
||||||
[ -z "$vndk" ] && vndk="$(getprop ro.vndk.version |grep -oE '^[0-9]+')"
|
[ -z "$vndk" ] && vndk="$(getprop ro.vndk.version |grep -oE '^[0-9]+')"
|
||||||
|
|
||||||
|
if [ "$vndk" = 26 ];then
|
||||||
|
resetprop ro.vndk.version 26
|
||||||
|
fi
|
||||||
|
|
||||||
setprop sys.usb.ffs.aio_compat true
|
setprop sys.usb.ffs.aio_compat true
|
||||||
setprop persist.adb.nonblocking_ffs false
|
setprop persist.adb.nonblocking_ffs false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user