appinfo_t *menu_info = NULL;
candidate_process_context_t *cpc = NULL;
candidate_process_context_t *org_cpc = NULL;
+ const char *installed_storage;
const char *app_path = NULL;
int pid = -1;
int clifd = -1;
goto end;
}
- if (access(app_path, X_OK) != 0) {
- ret = -errno;
- _E("%s is not executable. errno(%d)", app_path, errno);
- __send_result_to_caller(clifd, ret);
- clifd = -1;
- goto end;
+ installed_storage = bundle_get_val(kb, AUL_K_INSTALLED_STORAGE);
+ if (!installed_storage || strcmp(installed_storage, "external") != 0) {
+ if (access(app_path, X_OK) != 0) {
+ ret = -errno;
+ _E("%s is not executable. errno(%d)", app_path, errno);
+ __send_result_to_caller(clifd, ret);
+ clifd = -1;
+ goto end;
+ }
}
if (menu_info->hwacc == NULL) {