From: liwei Date: Tue, 17 May 2022 10:09:54 +0000 (+0800) Subject: [VD] Remove unnecessary resume() when SkipReload X-Git-Tag: submit/tizen/20220524.160021^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd39aa2205a532a9036ddd434476ea9e36949fc1;p=platform%2Fframework%2Fweb%2Fwrtjs.git [VD] Remove unnecessary resume() when SkipReload When app resuem, litewebappservice will pass 'SkipReload', WRT doesn't need call resume() in this case, bcz WRT will receive OnResume() event from appfw, so resume() will be handled when receive OnResume(). Change-Id: I2b214ae9ded30bc254f7e0ca678e3a89d7b55e02 Signed-off-by: liwei --- diff --git a/wrt_app/src/tv/web_application_tv.ts b/wrt_app/src/tv/web_application_tv.ts index 0f8853bd..d0b14e93 100644 --- a/wrt_app/src/tv/web_application_tv.ts +++ b/wrt_app/src/tv/web_application_tv.ts @@ -221,8 +221,6 @@ Then you can get profile log from the initial loading.`; let skipReload = appControl.getData('SkipReload'); if (skipReload == 'Yes') { console.log('skipping reload'); - // TODO : Need to care this situation and decide to pass the addon event emitter to resume() - this.webApplication.resume(); return false; } }