Skip to content

Commit

Permalink
Apply workaround on "honor" devices
Browse files Browse the repository at this point in the history
This makes audio work on those devices.

Fixes #4015 <#4015>
  • Loading branch information
rom1v committed Jun 16, 2023
1 parent 0d41573 commit 9bff8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main/java/com/genymobile/scrcpy/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private static void scrcpy(Options options) throws IOException, ConfigurationExc
// But only apply when strictly necessary, since workarounds can cause other issues:
// - <https://github.com/Genymobile/scrcpy/issues/940>
// - <https://github.com/Genymobile/scrcpy/issues/994>
if (Build.BRAND.equalsIgnoreCase("meizu")) {
if (Build.BRAND.equalsIgnoreCase("meizu") || Build.BRAND.equalsIgnoreCase("honor")) {
Workarounds.fillAppInfo();
}

Expand Down

0 comments on commit 9bff8cc

Please sign in to comment.