-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename misleading names in FakeCrasAudioClient
The methods `set_notify_volume_change_with_delay` and `set_notify_gain_change_with_delay` did not *delay* informing the observers, but instead they *stopped* informing the observers. This CL renames them to `disable_volume_change_events` and `disable_gain_change_events` because: * The old names lied, and ended up costing me quite some time today. * I will actually introduce methods to make these events asynchronous in a follow-up CL (since that closer matches the reality, and this caused things to be broken even when tests passed). Bug: b/271813821 Change-Id: Idbbf34bfb8ddce7b4ec8456611aa06dc77ac1625 Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4324020 Commit-Queue: Jeroen Dhollander <jeroendh@google.com> Reviewed-by: Li-Yu Yu <aaronyu@google.com> Cr-Commit-Position: refs/heads/main@{#1115600}
- Loading branch information
Jeroen Dhollander
authored and
Chromium LUCI CQ
committed
Mar 10, 2023
1 parent
0a9136a
commit 6de20cc
Showing
3 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters