Can we programmatically dismiss the screen cast message in android? When MediaProjection.getScreenCaptureIntent() is called?

150 views Asked by At

Is it possible to programmatically dismiss the screen sharing prompt message that pops up when we call MediaProjection.getScreenCaptureIntent()?

1

There are 1 answers

0
CommonsWare On BEST ANSWER

No, ordinary apps cannot dismiss system dialogs, particularly those pertaining to permissions.