mirror of https://github.com/Genymobile/scrcpy
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();
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue