2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-08-30 22:05:12 +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:
Romain Vimont
2023-11-03 19:07:08 +01:00
parent 85a0b935c9
commit 8d76b3e06d

View File

@@ -81,6 +81,7 @@ public final class Workarounds {
if (camera) {
mustFillAppInfo = true;
mustFillAppContext = true;
}
if (mustFillAppInfo) {