raspberry-vanilla / android_local_manifest

105 stars 48 forks source link

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

Open tzjb opened 5 days ago

tzjb commented 5 days 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 days 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.