| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Utilize FileChannel.transferFrom to copy files faster. Chunk the file
transfer so that we can check between each chunk if the user has
cancelled the copy.
In my tests copying a large file (650MB), this improved performance by 45%.
Also, bring the cancel feature back for non secure storage.
Fixes QRDL-976.
Change-Id: I112cee7b9dfe682a438516f7f938dfd7538f1efb
|
| |
|
|
|
|
|
|
|
|
| |
- Short circuit Java CopyCommand for move/copy when the user cancels
the dialog.
- Bubble up CancelledOperationException when the Cancel/Move operation
is cancelled. Handle cancellation differently than success.
Change-Id: I3e4426aaccf42e12bf299041d489e72b3b76a626
(cherry picked from commit 7e13ec2fa4fc052c2a880a8dba8ed871b3bc10ca)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Various fixes for non-rooted devices running under java console:
* Improve navigation (caching unsused data on chrooted mode: aids, mountpoints, ...)
* Editor: Don't ask user to gain privileges (non rooted devices never can gain privileged access)
* Move common file operations to FileHelper
* MoveCommand: As shell console, java console doesn't allow to move between filesystems. Use
a copy-delete operation when renameTo is not allowed.
* On non-rooted devices, not allow to change to other access mode.
Change-Id: I7ae8b4f4203fc8a20f498e43f45c0a956731b02e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue https://github.com/jruesga/CMFileManager/issues/31.
The busybox mv command returns a failure when files are moved between filesystem (Cross-device
link failure). This changes fix this failure by:
* Replace mv command for a "mv or cp+rm" operation.
* rm operation occurs over source mount point so this need to be mounted prior to execute this
new command.
* Fix the stderr buffer filling on error.
Change-Id: If113ad810e7daffeb8379589789b2855eda14908
|
|
|
Full refactoring of package from explorer to filemanager
|