[VD] Remove unnecessary resume() when SkipReload 60/275160/5 accepted/tizen/unified/20220525.010201 submit/tizen/20220524.160021
authorliwei <wei90727.li@samsung.com>
Tue, 17 May 2022 10:09:54 +0000 (18:09 +0800)
committerliwei <wei90727.li@samsung.com>
Tue, 24 May 2022 01:36:51 +0000 (09:36 +0800)
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 <wei90727.li@samsung.com>
wrt_app/src/tv/web_application_tv.ts

index 0f8853b..d0b14e9 100644 (file)
@@ -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;
       }
     }