From 2b69649a271fab515845d6c4ff31f5823bf0cfc8 Mon Sep 17 00:00:00 2001 From: Pawel Andruszkiewicz Date: Thu, 27 Aug 2015 09:31:54 +0200 Subject: [PATCH] [Notification] Fixed validation of LED color. Test NotificationManager_playLEDCustomEffect_color_invalid passes. [Verification] TCT pass rate (r36): 97.85% (93/91/2/0/0). Change-Id: Id050536aa5018ad2582757ca3e70f16caaf26e0a Signed-off-by: Pawel Andruszkiewicz --- src/notification/notification_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notification/notification_api.js b/src/notification/notification_api.js index c558df9b..33a36cbc 100644 --- a/src/notification/notification_api.js +++ b/src/notification/notification_api.js @@ -39,7 +39,7 @@ function convertColorToInt(rgbaColor) { } if (!isLengthOk || !isHash || !isHex) { - throw new tizen.WebAPIException(tizen.WebAPIException.INVALID_VALUES_ERR, 'invalid value'); + throw new WebAPIException(WebAPIException.INVALID_VALUES_ERR, 'invalid value'); } return parseInt('0x' + c); -- 2.34.1