I am implementing a video streaming App and want to secure my content I have used
getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParam