Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call Looper.prepareMainLooper() to avoid exception
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: - <#240> - <#921> Signed-off-by: Romain Vimont <[email protected]>
- Loading branch information