Commit 804f709f authored by kmadhusu@chromium.org's avatar kmadhusu@chromium.org

Set media device name as isolated file system name.

While registering the attached device path as file system, set the media
device name as file system name.

BUG=none
TEST=none
TBR=gbillock@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10824170

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150049 0039d316-1c4b-4281-b951-d872f2087c98
parent b20a0244
...@@ -62,7 +62,7 @@ void DeviceAttachedIntentSource::OnMediaDeviceAttached( ...@@ -62,7 +62,7 @@ void DeviceAttachedIntentSource::OnMediaDeviceAttached(
SystemMonitor::MediaDeviceInfo device_info(id, name, type, location); SystemMonitor::MediaDeviceInfo device_info(id, name, type, location);
device_id_map_.insert(std::make_pair(id, device_info)); device_id_map_.insert(std::make_pair(id, device_info));
std::string device_name; std::string device_name(UTF16ToUTF8(name));
// Register device path as an isolated file system. // Register device path as an isolated file system.
// TODO(kinuko, kmadhusu): Use a different file system type for MTP. // TODO(kinuko, kmadhusu): Use a different file system type for MTP.
......
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