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
  • 2,029
  • 4
  • 26
  • 52

1 Answers1

0

It will work for you.

getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
BlackBlind
  • 772
  • 9
  • 26