How can I remove cast icon while using mediaprojection API

时间:2019-04-08 12:56:48

标签: android casting mediaprojection

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.

0 个答案:

没有答案