From: Youngsoo Choi Date: Thu, 24 Sep 2020 11:48:29 +0000 (-0700) Subject: [Service] Fix not returning handler id of systeminfo X-Git-Tag: submit/tizen/20200928.023533~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad5118f066c383a6bf22fc375a6e8b60ceeb3c03;p=platform%2Fframework%2Fweb%2Fwrtjs.git [Service] Fix not returning handler id of systeminfo The systeminfo device API should return handler id to control listener later. Change-Id: Idc12f8164be0a500a29b1a272899148e3c17aff7 Signed-off-by: Youngsoo Choi --- diff --git a/wrt_app/service/access_control_manager.ts b/wrt_app/service/access_control_manager.ts index 120fe1c0..87afb7a3 100644 --- a/wrt_app/service/access_control_manager.ts +++ b/wrt_app/service/access_control_manager.ts @@ -6,7 +6,7 @@ function checkSystemInfoApiPrivilege(func: any, permissions: string[]) { console.log('The telephony permission is missing.'); return ; } - override_func.call(global.tizen.systeminfo, ...args); + return override_func.call(global.tizen.systeminfo, ...args); } }