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>
S
Simon Chan committed
de40cac6ad929f1d150b332f0e987c0d70ba5d38
Parent: b60a8aa
Committed by Romain Vimont <rom@rom1v.com>
on 3/10/2023, 9:22:15 PM