aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-03-10 00:13:19 +0100
committerJorge Ruesga <jorge@ruesga.com>2013-03-10 00:13:19 +0100
commit270718d7d61f2757e9f5e67ee118639e648252a6 (patch)
treec5e23a46d89a0f03f9be55a99606ab5cba6f3b37 /res/xml
parent2cfe1993205301af15def30511df6673f5dc88d6 (diff)
downloadandroid_packages_apps_CMFileManager-270718d7d61f2757e9f5e67ee118639e648252a6.tar.gz
android_packages_apps_CMFileManager-270718d7d61f2757e9f5e67ee118639e648252a6.tar.bz2
android_packages_apps_CMFileManager-270718d7d61f2757e9f5e67ee118639e648252a6.zip
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 'res/xml')
-rw-r--r--res/xml/command_list.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/xml/command_list.xml b/res/xml/command_list.xml
index 707b51bc..14cce468 100644
--- a/res/xml/command_list.xml
+++ b/res/xml/command_list.xml
@@ -83,6 +83,7 @@
<!-- Process control and info -->
<command commandId="pid_shell" commandPath="/system/xbin/echo" commandArgs="$$" />
+ <command commandId="pid_shell_cmds" commandPath="/system/bin/ps" commandArgs="| /system/xbin/grep -w %1$s | /system/xbin/awk '{print $2}' | /system/xbin/grep -v -w %1$s" />
<command commandId="pid_cmd" commandPath="/system/bin/ps" commandArgs="| /system/xbin/grep %1$s | /system/xbin/grep -w %2$s | /system/xbin/awk '{print $2}'" />
<command commandId="sendsignal" commandPath="/system/bin/kill" commandArgs="-%1$s %2$s" />
<command commandId="terminate" commandPath="/system/bin/kill" commandArgs="%1$s" />