diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2024-08-22 17:41:59 +0900 |
---|---|---|
committer | youngjae cho <y0.cho@samsung.com> | 2024-08-22 09:04:38 +0000 |
commit | 9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53 (patch) | |
tree | 6ecdb01b6f334301cb5ac64f8090ad734fa4d124 | |
parent | 82b2b89e57a057351bee2ba4bc863a62c61622ed (diff) | |
download | resourced-9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53.tar.gz resourced-9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53.tar.bz2 resourced-9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53.zip |
lowmem-controller: Add missing vconf setting for soft warningaccepted/tizen/unified/x/20240827.053117accepted/tizen/unified/toolchain/20241004.101413accepted/tizen/unified/dev/20240828.023757accepted/tizen/unified/20240826.233017accepted/tizen_unified_dev
Change-Id: Ifed1210f073dafa3863ad0b4075c9403a57140bc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit 69a94518bc38dd1d9ac7e77b7f7b061afd3a2268)
-rw-r--r-- | src/resource-limiter/memory/lowmem-controller.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resource-limiter/memory/lowmem-controller.c b/src/resource-limiter/memory/lowmem-controller.c index 2f89429b..6065e5f6 100644 --- a/src/resource-limiter/memory/lowmem-controller.c +++ b/src/resource-limiter/memory/lowmem-controller.c @@ -509,6 +509,8 @@ static int critical_mem_control(void *data) resourced_notify(RESOURCED_NOTIFIER_SWAP_COMPACT, (void *)SWAP_COMPACT_MEM_LEVEL_CRITICAL); lowmem_memory_level_send_system_event(MEM_LEVEL_CRITICAL); + vconf_set_int(VCONFKEY_SYSMAN_LOW_MEMORY, + VCONFKEY_SYSMAN_LOW_MEMORY_SOFT_WARNING); return RESOURCED_ERROR_NONE; } |