return;
}
DM_SLOGI("operation[%s]", app_op);
+ if (app_control_get_caller(s, &caller) == APP_CONTROL_ERROR_NONE) {
+ if (!strncmp(caller, MYFILE_PKG_NAME, strlen(MYFILE_PKG_NAME))
+ && strncmp(app_op, APP_CONTROL_OPERATION_DOWNLOAD, strlen(APP_CONTROL_OPERATION_DOWNLOAD))) {
+ DM_LOGI("Silent mode");
+ free(caller);
+ return;
+ }
+ free(caller);
+ } else {
+ DM_LOGI("get app_control caller failed");
+ }
free(app_op);
if (app_control_get_uri(s, &url) < 0) {
free(url);
}
- if (app_control_get_caller(s, &caller) == APP_CONTROL_ERROR_NONE) {
- if (0 == strncmp(caller, MYFILE_PKG_NAME, strlen(MYFILE_PKG_NAME))) {
- DM_LOGI("Silent mode");
- free(caller);
- return;
- }
- free(caller);
- } else {
- DM_LOGI("get app_control caller failed");
- }
-
ret = app_control_get_extra_data(s, KEY_DEFAULT_STORAGE, &default_storage);
if (ret == APP_CONTROL_ERROR_NONE) {
if (default_storage) {