static int __get_app_info(char *appid)
{
int ret = -1;
+ int support_mode = 0;
char *exec = NULL;
char *app_id = NULL;
char *apptype = NULL;
if (ret < 0)
printf("Failed to get preload\n");
+ ret = pkgmgrinfo_appinfo_get_support_mode(handle, &support_mode);
+ if (ret < 0)
+ printf("Failed to get support_mode\n");
+
if (app_id)
printf("Appid: %s\n", app_id);
printf("Enabled: %d\n", enabled);
printf("Preload: %d\n", preload);
+ printf("Support_mode: %d\n", support_mode);
pkgmgrinfo_appinfo_destroy_appinfo(handle);