Add fgmgr timer to handle bg process
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 21 Mar 2022 07:43:46 +0000 (16:43 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 1 Apr 2022 00:51:18 +0000 (09:51 +0900)
commitfbe3789f5c2357efcdde6a3a562cfbebc707e170
tree928991eccbb63b6984dc31469c39ae41b2401670
parente6385afca49ecf217e878310f2255cc77d5d55b8
Add fgmgr timer to handle bg process

When sending APP_RESUME_BY_PID_ASYNC, APP_RESUME_BY_PID and APP_PAUSE_BY_PID commands,
AMD sends the "AppResume" signal to resourceD.
resourceD expects fg or bg or suspendhint signal after getting the "AppResume" signal.
This patch fixes to send the bg signal if the app process is not changed to the fg.

Change-Id: I22e1d9d040755538236bb9b9f28e268b6a4d8e9e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_launch.c