Skip to content

Commit

Permalink
Fix: reduce UI lag after changing ANC mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mshpp committed Nov 11, 2023
1 parent 7867c3b commit a84039c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/headphones/huawei/otter/headphones_impl_otter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ class HeadphonesImplOtter extends HeadphonesBase {
break;
}
await _sendMbb(comm);
//needed to avoid UI lag after changing modes
await _sendMbb(_headphoneInterface.requestAnc);
}

@override
Expand Down

0 comments on commit a84039c

Please sign in to comment.