mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-11 17:55:55 +00:00
Do not apply all workarounds for ONYX devices
Calling fillAppInfo() breaks video mirroring on ONYX devices.
Fixes #5182 <https://github.com/Genymobile/scrcpy/issues/5182>
Refs 2b6089cbfc
This commit is contained in:
parent
523f939532
commit
0c95794463
@ -61,7 +61,14 @@ public final class Workarounds {
|
|||||||
fillConfigurationController();
|
fillConfigurationController();
|
||||||
}
|
}
|
||||||
|
|
||||||
fillAppInfo();
|
// On ONYX devices, fillAppInfo() breaks video mirroring:
|
||||||
|
// <https://github.com/Genymobile/scrcpy/issues/5182>
|
||||||
|
boolean mustFillAppInfo = !Build.BRAND.equalsIgnoreCase("ONYX");
|
||||||
|
|
||||||
|
if (mustFillAppInfo) {
|
||||||
|
fillAppInfo();
|
||||||
|
}
|
||||||
|
|
||||||
fillAppContext();
|
fillAppContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user