nRet = app_info_filter_add_string(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_TYPE, "capp");
PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_string", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
- nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_NODISPLAY, 1);
+ nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_NODISPLAY, true);
+ PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_bool", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
+
+ nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_TASKMANAGE, true);
+ PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_bool", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
+
+ nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_DISABLED, false);
PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_bool", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
// Target API
PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_string", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
//Target API
- nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_NODISPLAY, 1);
+ nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_NODISPLAY, true);
+ PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_bool", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
+
+ //Target API
+ nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_TASKMANAGE, true);
+ PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_bool", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
+
+ //Target API
+ nRet = app_info_filter_add_bool(pstAppInfoFilterHandle, PACKAGE_INFO_PROP_APP_DISABLED, false);
PRINT_RESULT_CLEANUP(APP_MANAGER_ERROR_NONE, nRet, "app_info_filter_add_bool", AppManagerGetError(nRet), app_info_filter_destroy(pstAppInfoFilterHandle));
// Target API