Ignore vconfkey value change for AVC mode on 75/225475/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 20 Feb 2020 06:57:45 +0000 (15:57 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 20 Feb 2020 06:59:53 +0000 (15:59 +0900)
Change-Id: I30a3dd331aa5755fb30f8847f198a42db5fe1e36
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service-adaptation/services/audio/bt-service-absolute-volume.c

index a56d712..6c24945 100644 (file)
@@ -216,6 +216,11 @@ static void __bt_audio_set_user_avc_value(bool mode)
                return;
        }
 
+       if (avc_mode != BT_AVC_OFF) {
+               BT_DBG("Already activate AVC mode");
+               return;
+       }
+
        volume = __bt_audio_get_active_headset_volume();
 
        if (volume == -1) {