From dd39aa2205a532a9036ddd434476ea9e36949fc1 Mon Sep 17 00:00:00 2001 From: liwei Date: Tue, 17 May 2022 18:09:54 +0800 Subject: [PATCH] [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 --- wrt_app/src/tv/web_application_tv.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/wrt_app/src/tv/web_application_tv.ts b/wrt_app/src/tv/web_application_tv.ts index 0f8853b..d0b14e9 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; } } -- 2.7.4