I've been trying to generate thumbnails for images and videos using Android's inbuilt ThumbnailUtils class. Video thumbnail generation succeeds properly via the createVideoThumbnail(..) method. However, I cannot even call the related method createImageThumbnail. Both methods are declared public and static. Here's the github link to the source.
How is it possible to restrict clients from using a public static method selectively in Java?
[Edit]: See this link for more info about using Android's internal/hidden methods: