The source project of this merge request has been removed.
grant COMPANION_APPROVE_WIFI_CONNECTIONS to com.google.android.gms
java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.gms (/system/priv-app/PrebuiltGmsCore): android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS}
And AOSP reports this too:
$ ./development/tools/privapp_permissions/privapp_permissions.py vendor/opengapps/sources/arm64/priv-app/com.google.android.gms/30/nodpi/211515046.apk
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<!-- Additional permissions on top of privapp-permissions-platform.xml -->
<privapp-permissions package="com.google.android.gms">
<permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS"/>
</privapp-permissions>
</permissions>
CC @nezorflame