mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-02 22:29:25 +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) {
|
if (camera) {
|
||||||
mustFillAppInfo = true;
|
mustFillAppInfo = true;
|
||||||
|
mustFillAppContext = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mustFillAppInfo) {
|
if (mustFillAppInfo) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue