#include "memory-common.h"
static bool lmk_governor_post_wss_enabled = false;
+static bool foreground_app_list_status_enabled = false;
void lmk_governor_post_enable_wss(void)
{
{
return lmk_governor_post_wss_enabled;
}
+
+void proc_enable_foreground_app_list_status(void)
+{
+ foreground_app_list_status_enabled = true;
+}
+
+bool proc_is_enabled_of_foreground_app_list_status(void)
+{
+ return foreground_app_list_status_enabled;
+}
void lmk_governor_post_enable_wss(void);
bool lmk_governor_post_is_enabled_of_wss(void);
+void proc_enable_foreground_app_list_status(void);
+bool proc_is_enabled_of_foreground_app_list_status(void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
+++ /dev/null
-/*
- * resourced
- *
- * Copyright (c) 2023 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "proc-common.h"
-
-static bool foreground_app_list_status_enabled = false;
-
-void proc_enable_foreground_app_list_status(void)
-{
- foreground_app_list_status_enabled = true;
-}
-
-bool proc_is_enabled_of_foreground_app_list_status(void)
-{
- return foreground_app_list_status_enabled;
-}
struct proc_conf_info* fixed_app_and_service_exist_check(const char *name, enum proc_type proc_type);
enum proc_action fixed_app_and_service_watchdog_action(const char *name, enum proc_type proc_type);
-void proc_enable_foreground_app_list_status(void);
-bool proc_is_enabled_of_foreground_app_list_status(void);
-
#ifdef __cplusplus
}
#endif /* __cplusplus */