Disable photo importer in the Files app

BUG=168957

Review URL: https://codereview.chromium.org/11824061

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176072 0039d316-1c4b-4281-b951-d872f2087c98
parent d8396d79
...@@ -625,7 +625,9 @@ void FileBrowserEventRouter::DispatchMountEvent( ...@@ -625,7 +625,9 @@ void FileBrowserEventRouter::DispatchMountEvent(
mount_info.mount_type == chromeos::MOUNT_TYPE_DEVICE && mount_info.mount_type == chromeos::MOUNT_TYPE_DEVICE &&
!mount_info.mount_condition && !mount_info.mount_condition &&
event == DiskMountManager::MOUNTING) { event == DiskMountManager::MOUNTING) {
file_manager_util::OpenActionChoiceDialog(FilePath(mount_info.mount_path)); // To enable Photo Import call file_manager_util::OpenActionChoiceDialog
// instead.
file_manager_util::ViewRemovableDrive(FilePath(mount_info.mount_path));
} }
} }
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL" <command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL"
></command> ></command>
<command id="import-photos" i18n-values="label:PHOTO_IMPORT_TITLE" <command id="import-photos" i18n-values="label:PHOTO_IMPORT_TITLE"
></command> hidden></command>
<command id="gdata-buy-more-space" <command id="gdata-buy-more-space"
i18n-values="label:DRIVE_BUY_MORE_SPACE" i18n-values="label:DRIVE_BUY_MORE_SPACE"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment