diff options
| author | Jorge Ruesga <jorge@ruesga.com> | 2013-03-10 00:13:19 +0100 |
|---|---|---|
| committer | Jorge Ruesga <jorge@ruesga.com> | 2013-03-10 00:13:19 +0100 |
| commit | 270718d7d61f2757e9f5e67ee118639e648252a6 (patch) | |
| tree | c5e23a46d89a0f03f9be55a99606ab5cba6f3b37 /src/com/cyanogenmod/filemanager/commands/shell/ShellExecutableCreator.java | |
| parent | 2cfe1993205301af15def30511df6673f5dc88d6 (diff) | |
CMFM: CYAN-533 - Increase timeout in File Manager
Fixed timeout problems with list, copy, move and delete commands.
Check new data for list commands; use indefinitely wait for copy, move and delete commands.
Tested with 5000 and 30000 files.
Change-Id: I33cd6c9b7422966cdc4bc0c9cb265f74533ef161
JIRA: https://jira.cyanogenmod.org/browse/CYAN-533
Bugfix: CYAN-533
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'src/com/cyanogenmod/filemanager/commands/shell/ShellExecutableCreator.java')
| -rw-r--r-- | src/com/cyanogenmod/filemanager/commands/shell/ShellExecutableCreator.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/filemanager/commands/shell/ShellExecutableCreator.java b/src/com/cyanogenmod/filemanager/commands/shell/ShellExecutableCreator.java index e474184..339ca09 100644 --- a/src/com/cyanogenmod/filemanager/commands/shell/ShellExecutableCreator.java +++ b/src/com/cyanogenmod/filemanager/commands/shell/ShellExecutableCreator.java @@ -373,6 +373,19 @@ public class ShellExecutableCreator implements ExecutableCreator { * {@inheritDoc} */ @Override + public ProcessIdExecutable createProcessIdExecutable(int pid) + throws CommandNotFoundException { + try { + return new ProcessIdCommand(pid); + } catch (InvalidCommandDefinitionException icdEx) { + throw new CommandNotFoundException("ProcessIdCommand", icdEx); //$NON-NLS-1$ + } + } + + /** + * {@inheritDoc} + */ + @Override public ProcessIdExecutable createProcessIdExecutable(int pid, String processName) throws CommandNotFoundException { try { |
