I am running some experiments where I need my workflow to be automated. One of the tasks involves launching an android application I've made. This app records the display of the device and then after a minute or so, the app is killed via ADB.
Because the app is recording the screen, it prompts the user, saying:
I get that it is a security feature, but for testing or experimental purposes, is there any way to disable it or perhaps simulate the "Start now" click?
I've tried <uses-permission android:name="android.permission.PROJECT_MEDIA"/> but it has no effect.
