Change-Id: I0abcba105bc5ef87f6c70599b0e33a424fa5e68d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
printf("17 --> filter by app screenreader\n");
printf("18 --> filter by app ui-gadget [0|1]\n");
printf("19 --> filter by app support disable [0|1]\n");
+ printf("20 --> filter by app installed storage\n");
choice = __get_integer_input_data();
switch (choice) {
case 0:
goto err;
}
break;
+ case 20:
+ value = __get_string_input_data();
+ ret = pkgmgrinfo_appinfo_filter_add_string(handle,
+ PMINFO_APPINFO_PROP_APP_INSTALLED_STORAGE, value);
+ if (ret < 0) {
+ printf("pkgmgrinfo_appinfo_filter_add_string() failed\n");
+ ret = -1;
+ goto err;
+ }
+ break;
+
default:
printf("Invalid filter property\n");
ret = -1;