raspberry-vanilla/android_local_manifest

out/soong/hiddenapi/hiddenapi-flags.csv is empty

Closed this issue · 2 comments

tzjb commented

After a successful build, I noticed that out/soong/hiddenapi/hiddenapi-flags.csv has 0 byte, and in the running image the hidden APIs can be accessed without disabling hidden API policy.

I don't know if this is by design in this project, or an actual issue. The Google AOSP enforces this policy by default. Is there a way to enable this during build time? Below is what I used for building the image. Thanks!

. build/envsetup.sh
lunch aosp_rpi5-ap2a-userdebug
make bootimage systemimage vendorimage -j$(nproc)
./rpi5-mkimg.sh

Raspberry Vanilla doesn't change AOSP behaviour in this regard.

Maybe hidden API policy isn't enforced on userdebug build type? Maybe out/soong/hiddenapi/hiddenapi-flags.csv doesn't get built when you're building partition images? You're welcome to investigate.

Closing as there has been no interaction in over a month.