From 95036eb2f666f2f4542dfb69a3466ed563d86bd5 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 17 Jul 2019 20:08:40 +0200 Subject: [PATCH] Fix reading vndk if setting prop from vndk failed on recent enough vendors --- rw-system.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rw-system.sh b/rw-system.sh index ea845b8..7a139ab 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -7,6 +7,7 @@ #fi vndk="$(getprop persist.sys.vndk)" +[ -z "$vndk" ] && vndk="$(getprop ro.vndk.version |grep -oE '^[0-9]+')" setprop sys.usb.ffs.aio_compat true fixSPL() {