scrcpy/server/src/main
Simon Chan 47f67412e4 Add workaround to capture audio on Android 11
On Android 11, it is possible to start the capture only when the running
app is in foreground. But scrcpy is not an app, it's a Java application
started from shell.

As a workaround, start an existing Android shell existing activity just
to start the capture, then close it immediately.

PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>

Co-authored-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
2023-03-09 19:21:24 +01:00
..
aidl/android Synchronize device clipboard to computer 2020-05-24 14:31:49 +02:00
java/com/genymobile/scrcpy Add workaround to capture audio on Android 11 2023-03-09 19:21:24 +01:00
AndroidManifest.xml Remove manifest package name 2023-03-03 11:13:48 +01:00