raspberry-vanilla / android_local_manifest

149 stars 58 forks source link

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

Closed tzjb closed 3 months ago

tzjb commented 4 months ago

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
KonstaT commented 4 months ago

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.

KonstaT commented 3 months ago

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