diff options
author | Junghyun Yeon <jungh.yeon@samsung.com> | 2017-04-10 20:01:14 +0900 |
---|---|---|
committer | Junghyun Yeon <jungh.yeon@samsung.com> | 2017-04-14 16:59:38 +0900 |
commit | 37bb24fb44dac2a21de493c1212d358200ee5a88 (patch) | |
tree | 87ece46ff580984975c75f320fc9dd2ee6f7db1e | |
parent | 2d1119045203366fc3623554e0da4d960fa8859c (diff) | |
download | app-manager-37bb24fb44dac2a21de493c1212d358200ee5a88.tar.gz app-manager-37bb24fb44dac2a21de493c1212d358200ee5a88.tar.bz2 app-manager-37bb24fb44dac2a21de493c1212d358200ee5a88.zip |
Add property to get disabled appinfo
Change-Id: I5411264a4a864b9f52798c14487006a614e5f2d9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
-rw-r--r-- | include/app_info.h | 6 | ||||
-rw-r--r-- | src/app_info.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/app_info.h b/include/app_info.h index 8125341..2b14030 100644 --- a/include/app_info.h +++ b/include/app_info.h @@ -71,6 +71,12 @@ extern "C" { #define PACKAGE_INFO_PROP_APP_TASKMANAGE "PACKAGE_INFO_PROP_APP_TASKMANAGE" /** + * @brief Definition for boolean property for filtering based on app info: Boolean property for filtering whether the application has been disabled + * @since_tizen 4.0 + */ +#define PACKAGE_INFO_PROP_APP_DISABLED "PACKAGE_INFO_PROP_APP_DISABLED" + +/** * @brief Application information handle. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */ diff --git a/src/app_info.c b/src/app_info.c index c9967ec..2365b65 100644 --- a/src/app_info.c +++ b/src/app_info.c @@ -94,6 +94,8 @@ static int app_info_convert_bool_property(const char *property, char **converted *converted_property = PMINFO_APPINFO_PROP_APP_NODISPLAY; else if (strcmp(property, PACKAGE_INFO_PROP_APP_TASKMANAGE) == 0) *converted_property = PMINFO_APPINFO_PROP_APP_TASKMANAGE; + else if (strcmp(property, PACKAGE_INFO_PROP_APP_DISABLED) == 0) + *converted_property = PMINFO_APPINFO_PROP_APP_DISABLE; else return -1; |