pass on Pause/Resume event to Adaptor 61/227361/10
authorCheng-Shiun Tsai <cheng.tsai@samsung.com>
Wed, 11 Mar 2020 10:58:39 +0000 (10:58 +0000)
committerCheng-Shiun Tsai <cheng.tsai@samsung.com>
Wed, 25 Nov 2020 17:41:42 +0000 (17:41 +0000)
commit45767687e863fcdfa7cd45e634509a4e0647dc96
treea891a9166ce360b144f887a2bfc13a94f529a8b5
parent38072a2158bae28d2f81e550878eee400154f41e
pass on Pause/Resume event to Adaptor

so that RenderThread can fall into sleep when application fade into background
Also when an application lost foreground status, OS will destroy current window
but currently adaptor does not pause and continue to render on a destroyed window and cause crash

Change-Id: Idba56610ec3444e4affe58a0b819df8fc870619e
dali/internal/adaptor/android/framework-android.cpp
dali/internal/adaptor/androidjni/framework-androidjni.cpp