From 4de767101e06b0f86333286d5a2f6182a6c7865e Mon Sep 17 00:00:00 2001 From: Pawel Kaczmarek Date: Wed, 11 Feb 2015 08:38:29 +0100 Subject: [PATCH] [Sound] setVolumeChangeListener JS fix [Verification] Related TCT should pass Change-Id: Ibe5222620b88f40b122c669b92a0d16924c9c97c Signed-off-by: Pawel Kaczmarek --- src/sound/sound_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/sound_api.js b/src/sound/sound_api.js index b6a896ff..b9301cdf 100644 --- a/src/sound/sound_api.js +++ b/src/sound/sound_api.js @@ -102,7 +102,7 @@ SoundManager.prototype.unsetSoundModeChangeListener = function() { var _volumeChangeListener; function _volumeChangeListenerCallback(result) { - native_.callIfPossible(_volumeChangeListener, native_.getResultObject(result)); + native_.callIfPossible(_volumeChangeListener, result.type, result.volume); } SoundManager.prototype.setVolumeChangeListener = function(callback) { -- 2.34.1