Merge pull request #239 from VDavid003/android-11.0

Fix vendor hostapd detection for manifest fragments
This commit is contained in:
Pierre-Hugues HUSSON 2021-03-08 13:48:13 +01:00 committed by GitHub
commit 23baa924dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -724,6 +724,11 @@ for i in odm oem vendor product;do
if grep -qF android.hardware.wifi.hostapd /$i/etc/vintf/manifest.xml;then
has_hostapd=true
fi
for j in /$i/etc/vintf/manifest/*;do
if grep -qF android.hardware.wifi.hostapd $j;then
has_hostapd=true
fi
done
done
if [ "$has_hostapd" = false ];then