Why are newly added APIs annotated with @hide in Android framework still added to current.txt after a make update-api? -
i'm android framework developer. i'm inspecting codes adding new public apis aosp, , make sure these public apis hidden, keeping current.txt same aosp.
now have encountered problem confuses me. know, public apis @hide annotated not added current.txt, generated after make update-api, there seems exception here.
we have codes out of frameworks/base, compiled framework.jar specifying source files in android.mk, below:
local_src_files += \ $(call all-java-files-under,../../flyme/frameworks/base/core) \ $(call all-java-files-under,../../flyme/frameworks/base/media) \ $(call all-java-files-under,../../flyme/frameworks/common/media) \ $(call all-java-files-under,../../flyme/frameworks/common/core)
what confuses me is, new public apis added these codes output current.txt, no matter using @hide or not. have thought droiddoc not able remove @hide stuff codes out of frameworks/base i'm not sure this. lot!
Comments
Post a Comment