mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix AudioControl@2.0 fade check
Fade now checks isValidValue rather than !isValidValue Bug: 155225937 Test: built ran and adjusted fade Change-Id: I21b0dee8ebd677217b037c38cc744a77cf145709
This commit is contained in:
@@ -69,7 +69,7 @@ Return<void> AudioControl::setBalanceTowardRight(float value) {
|
||||
}
|
||||
|
||||
Return<void> AudioControl::setFadeTowardFront(float value) {
|
||||
if (!isValidValue(value)) {
|
||||
if (isValidValue(value)) {
|
||||
// Just log in this default mock implementation
|
||||
LOG(INFO) << "Fader set to " << value;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user