I'm using Android's MediaProjection API to take screenshots from a background service upon certain events. However, when taking a screenshot, cast icon appears in status bar for a couple of seconds.
How can I disable this icon that notifies user about screen is being projected?
I have tried to turn on Demo Mode but cast icon is still shown
Best regards.