mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 03:25:03 +00:00
Fill application context for camera
Using the camera fails on some devices without a proper application context. Fixes #4392 <https://github.com/Genymobile/scrcpy/issues/4392>
This commit is contained in:
parent
85a0b935c9
commit
8d76b3e06d
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ public final class Workarounds {
|
|||
|
||||
if (camera) {
|
||||
mustFillAppInfo = true;
|
||||
mustFillAppContext = true;
|
||||
}
|
||||
|
||||
if (mustFillAppInfo) {
|
||||
|
|
Loading…
Add table
Reference in a new issue