Google Appears to be Set to Block Hidden APIs in Android P

While we are still a few months away from seeing a developer preview, work is steadily going happening on Android P. There is one change however that could impact developers who are accessing hidden APIs in Android. It looks like access to them is going to be blocked in P.
A new commit in the Android Release gerrit suggests that access to hidden APIs will be blocked, forcing developers to use the approved APIs in the release.
The following patch enforces the hidden API blacklist, preventing access to boot class path methods/fields marked by the `hiddenapi` tool using static linking, reflection and JNI.
This could require some developers to rework their apps if they want them to work on Android P.





