resourced-memory-lmk: Change policy to put focused app in the last 17/296717/1 accepted/tizen_unified_riscv accepted/tizen/unified/20230809.071914 accepted/tizen/unified/riscv/20230809.013255
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 3 Aug 2023 09:26:29 +0000 (18:26 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 3 Aug 2023 09:28:56 +0000 (18:28 +0900)
commitc5017f4fd552b9b72ee82d6ec10e688e3f8c14c5
tree1572a000ef693558f78663151a0e552187820ce1
parentf82daf8f8764e8fbca532383bbf1da53cbfac62a
resourced-memory-lmk: Change policy to put focused app in the last

Change policy of get_kill_candidates_post_with_foreground function to put
focused app in the last of candidates list. This is because focused app
is the most important foreground app.

Change-Id: I43f55553a213215c059d1f56dd044b43efa4f790
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/resourced-memory-lmk/resourced-memory-lmk.c