[M120][WRTjs][VD] Suspend media tasks without 500ms delay
For webapps, when app is hide, WRT suspend app after 500ms.
But for media, there is resource conflict in this case:
1.Play H5 video in app A
2.Play H5 video in app B
3.Resume app A, media resource conflict
Reason:
In step3, app B is not suspend, so media resource of app B is not released.
Then when app A is fail to play video.
So when app is hide, notify media app is suspend without 500ms delay,
then media will release resource right now.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/304611/
Change-Id: I2aa28df76568d9aee86f5f9cbf68c95e840bb869
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
(cherry picked from commit
ee9a656b5306a78cfc166e5065b82ddd0b1eeb45)