Change-Id: Id7e33c33078cd4f9274eac467dad3a03907406e2
Signed-off-by: Chandan <ch.kumar@samsung.com>
&& data->view_by != IVUG_VIEW_BY_DIRECTORY) {
data->view_by = IVUG_VIEW_BY_FILE;
}
- if (data->mode == IVUG_MODE_INVAILD) {
- data->mode = IVUG_MODE_SINGLE;
+ /*Behave like hidden. No need to check to the DB and No ctxPopup*/
+ if (data->mode == IVUG_MODE_INVAILD || data->mode == IVUG_MODE_SINGLE) {
+ data->mode = IVUG_MODE_HIDDEN;
}
if (strstr (szFilePath, "/.") != NULL && data->mode != IVUG_MODE_EMAIL) {
data->mode = IVUG_MODE_HIDDEN;
MSG_MAIN_HIGH("More clicked. Mode=%d", pMainView->mode);
if (pMainView->mode == IVUG_MODE_CAMERA_SIMPLE && pMainView->cur_mitem == NULL) return;
- if (pMainView->mode == IVUG_MODE_DISPLAY || (pMainView->mode == IVUG_MODE_SINGLE && pMainView->view_by != IVUG_VIEW_BY_ALL)) return;
+ if (pMainView->mode == IVUG_MODE_DISPLAY) return;
if (gGetDestroying() == true) {
MSG_MAIN_WARN("UG is destroying");
return;
}
- if (pMainView->mode == IVUG_MODE_EMAIL) {
- MSG_MAIN_WARN("Launcher App is EMAIL");
+ if (pMainView->mode == IVUG_MODE_EMAIL || pMainView->mode == IVUG_MODE_HIDDEN) {
+ MSG_MAIN_WARN("DB scope not known.");
return;
}