diff options
author | Hayden Gomes <haydengomes@google.com> | 2020-04-29 17:48:00 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-04-29 17:48:00 +0000 |
commit | 5fbf64e33a39fd94c91019eeb0cfcba119d14303 (patch) | |
tree | 31e4faeef6408765465235da15c8367f8f30dcf1 /automotive | |
parent | d35cbc105840d3efc5fefbe8f1084cc3b4bb4d60 (diff) | |
parent | 331370012d486d15d73c3b2a58948e8f8ea70629 (diff) | |
download | platform_hardware_interfaces-5fbf64e33a39fd94c91019eeb0cfcba119d14303.tar.gz platform_hardware_interfaces-5fbf64e33a39fd94c91019eeb0cfcba119d14303.tar.bz2 platform_hardware_interfaces-5fbf64e33a39fd94c91019eeb0cfcba119d14303.zip |
Merge "Fix AudioControl@2.0 fade check" into rvc-dev am: 331370012d
Change-Id: Ied4a76be664eddaa890efecd0f9116834f6df7a2
Diffstat (limited to 'automotive')
-rw-r--r-- | automotive/audiocontrol/2.0/default/AudioControl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automotive/audiocontrol/2.0/default/AudioControl.cpp b/automotive/audiocontrol/2.0/default/AudioControl.cpp index 5bde8396f2..b7c11cdf07 100644 --- a/automotive/audiocontrol/2.0/default/AudioControl.cpp +++ b/automotive/audiocontrol/2.0/default/AudioControl.cpp @@ -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 { |