In Java, is it possible to block an Android applications screen being mirrored in chromecast or via an MHL connection?
I've tried FLAG_SECURE as mentioned here: https://stackoverflow.com/a/9822607/5983905
however that only blanks the app for Miracast mode. Any help would be much appreciated.