[VD] Don't show app if preload app is not ready 30/319530/1 accepted/tizen/unified/20241031.084343 accepted/tizen/unified/20241101.174128 accepted/tizen/unified/x/20241218.032603 submit/tizen/20241029.160027
authorzhaosy <shiyusy.zhao@samsung.com>
Fri, 25 Oct 2024 05:26:36 +0000 (13:26 +0800)
committerzhaosy <shiyusy.zhao@samsung.com>
Fri, 25 Oct 2024 05:26:36 +0000 (13:26 +0800)
commit90212b27f78af494ef37e237632b0fb0ac317ba4
tree01958c1c96281cb4acdec86a40164ec25671bafb
parentea25b7b62742729bef3a2f20b96d10d15c6aa8bc
[VD] Don't show app if preload app is not ready

For ConnectTime app, when there is a video calling coming,
they will preload app, and when user connect the call,
they launch app, if the interval too short between perload and launch,
js still is not running when app is showing, but WRT has sent tizenvisibilitychange.
So app can't receive tizenvisibilitychange event.

Thus, if preload app is not ready, shouldn't show app.

Change-Id: I3838a1acf9e7f59d4d339e92c4417d13b1c6e363
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wrt_app/common/web_application_delegate.ts
wrt_app/src/tv/web_application_tv.ts
wrt_app/src/web_application.ts