Name: app-core
Summary: Application basic
Version: 1.2
-Release: 26
+Release: 27
Group: TO_BE/FILLED_IN
License: Apache License, Version 2.0
Source0: app-core-%{version}.tar.gz
static int __sys_lowmem_post(void *data, void *evt)
{
- keynode_t *key = evt;
- int val;
-
- val = vconf_keynode_get_int(key);
- if(val != VCONFKEY_SYSMAN_LOW_MEMORY_SOFT_WARNING)
- return 0;
#if defined(MEMORY_FLUSH_ACTIVATE)
struct appcore *ac = data;
ac->ops->cb_app(AE_LOWMEM_POST, ac->ops->data, NULL);
static int __sys_lowmem(void *data, void *evt)
{
- keynode_t *key = evt;
- int val;
-
- val = vconf_keynode_get_int(key);
- if(val != VCONFKEY_SYSMAN_LOW_MEMORY_SOFT_WARNING)
- return 0;
return __sys_do(data, SE_LOWMEM);
}