Revert "Use hidden API to validate APK chains"

This reverts commit 35dd473aad06e65b20c2374d01bda9ea94b8a188.