mirror of
https://github.com/Genymobile/scrcpy
synced 2024-10-23 03:46:38 +00:00
e282100d0b
Some devices internally create a Handler when creating an input Surface, causing an exception: > Surface: java.lang.RuntimeException: Can't create handler inside > thread that has not called Looper.prepare() As a workaround, call Looper.prepareMainLooper() beforehand. Fixes: - <https://github.com/Genymobile/scrcpy/issues/240> - <https://github.com/Genymobile/scrcpy/issues/921> Signed-off-by: Romain Vimont <rom@rom1v.com> |
||
---|---|---|
.. | ||
main | ||
test/java/com/genymobile/scrcpy |