Modify ANR Monitor feature 70/314070/3
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 4 Jul 2024 23:14:30 +0000 (08:14 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 4 Jul 2024 23:51:07 +0000 (08:51 +0900)
commitc41e96bf3d73b6fd96b2ffada2627b16ab444751
tree56c1ebafd852d71593f9500c069ede1616b14043
parent72fda1f447667ccc06eacc8d63bb43c81ed84596
Modify ANR Monitor feature

If the caller is a daemon, the aul does not initialize the anr monitor.
Some daemon does not use the GMainLoop. And, ANR Monitor does not remove the
registered GSource using g_source_destroy(). The GSource will be destroyed
automatically in the callback function.

Change-Id: I93b99f2a694fb3d57530ee96e55f8de86f1fa83c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul/anr_monitor.cc
src/aul/aul_launch.c