How to disable screen recording while allowing screenshots?
I am using
WindowManager.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE)
to achieve this, but this method disables both screen recording and screenshots.
How to disable screen recording while allowing screenshots?
I am using
WindowManager.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE)
to achieve this, but this method disables both screen recording and screenshots.