Disabling or blur the screen while taking screenshot or screen recording while my app is running in background on device level, beyond application. This there a way to achieve this?
I tried MDM
to achieve it.
Disabling or blur the screen while taking screenshot or screen recording while my app is running in background on device level, beyond application. This there a way to achieve this?
I tried MDM
to achieve it.
It will work for you.
getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);