OSDN Git Service

[CMFileManager] Fix can't copy after disconnect with pc.
authorkai.cao <kai.cao@ck-telecom.com>
Mon, 27 Jul 2015 07:21:55 +0000 (15:21 +0800)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Fri, 31 Jul 2015 09:37:50 +0000 (02:37 -0700)
commitf328e4f79e12fd724551f4525f3afe3fa840e11a
treecfcaf546641d5ea98b5f60b2e3b464454bda16d7
parentdf55584ec69388fbc418c7236f20868e45f37caf
[CMFileManager] Fix can't copy after disconnect with pc.

Preconditions
1.insert a sdcard.
2.the phone connect with pc and the usb computer connection as Mount Sd card.

Procedures
1.Go to “File Manager”.
2.Copy a file in sdcard.
3.Connect to pc when the system is copying.
4.The CMFileManager will forced termination and  switch off the connecting with pc.
5.Go to CMFileManager and copy a file in Sd card.

The copy function is invalid and popup "The operation's command was not found ..."

Change-Id: I042550ce69f4c31a6fe46dfc9aeb53b34588d53f
src/com/cyanogenmod/filemanager/activities/NavigationActivity.java
src/com/cyanogenmod/filemanager/util/MountPointHelper.java