1

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.

Mahdi Moqadasi
  • 1,513
  • 1
  • 21
  • 47

1 Answers1

0

It will work for you.

getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
BlackBlind
  • 690
  • 8
  • 24