Force ro.vndk.version 26 when we detect vndk 26

This commit is contained in:
Pierre-Hugues Husson 2019-09-15 00:56:40 +02:00
parent 120df2523a
commit 1e15460c80

View File

@ -8,6 +8,11 @@
vndk="$(getprop persist.sys.vndk)"
[ -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 persist.adb.nonblocking_ffs false