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 2b6089cbfc29c41643e0c0e8049bda3ede777b61
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…
x
Reference in New Issue
Block a user