plugin-api: resourced: Add window info into 'task_info' for LMK governor 94/294694/9
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 22 Jun 2023 10:23:32 +0000 (19:23 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Sun, 30 Jul 2023 04:46:33 +0000 (13:46 +0900)
commitc2888ff6aeec24b764c51f7f7c1581091cc36f82
tree05aacea71f3e40ea1cb365665c367007a38219dc
parent0dc9ac2cbb2709cc7101f9ef84fec941610c9d96
plugin-api: resourced: Add window info into 'task_info' for LMK governor

Add window information list in 'task_info'.
Each window includes information such as visibility, focusing status,
and coordinate for LMK governor

resourced low memory killer (LMK) passes app information to LMK governor
during LMK process. Sometimes, LMK governor needs to know window information of
foreground app to prioritize which apps to be killed. This is because
foreground app(s) are visible status. If visible app(s) are killed by
LMK suddenly, then it embarrass the user.

Change-Id: I6b7b4ae00ca95534e7d99ec8b412909038d2fdc6
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/plugin-api/resourced/include/syscommon-plugin-resourced-memory-lmk.h