aboutsummaryrefslogtreecommitdiffstats
path: root/res/values/overlay.xml
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-03-16 02:37:00 +0100
committerJorge Ruesga <jorge@ruesga.com>2013-03-17 12:03:03 +0100
commit7041313c151efd9af42ed04fdfe647999f45cb37 (patch)
treee15b386a12c3fe1a22e6251e340fee264f63cc3c /res/values/overlay.xml
parent4477f9674d7fea30864230ff5e56550af3d94086 (diff)
downloadandroid_packages_apps_CMFileManager-7041313c151efd9af42ed04fdfe647999f45cb37.tar.gz
android_packages_apps_CMFileManager-7041313c151efd9af42ed04fdfe647999f45cb37.tar.bz2
android_packages_apps_CMFileManager-7041313c151efd9af42ed04fdfe647999f45cb37.zip
CMFM: CYAN-200 - Archiving and Extracting .ZIP files in CM File Manager
Added support for zip and unrar commands. Zip, unzip, unlzma, unxz, uncompress and unrar are now optional. Compress or uncompress of these types are only available if its commands are present in filesystem NOTE: This change requires that zip and unrar commands are present in the filesystem at /system/xbin, which actually don't. Patchset 2: Rebased Change-Id: I30667c802bc5b678015b28bb3170377ceb37a1b8 JIRA: https://jira.cyanogenmod.org/browse/CYAN-200 Bugfix: CYAN-200 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/values/overlay.xml')
-rw-r--r--res/values/overlay.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/res/values/overlay.xml b/res/values/overlay.xml
index dcea6e6d..c0ac0786 100644
--- a/res/values/overlay.xml
+++ b/res/values/overlay.xml
@@ -64,15 +64,21 @@
/system/xbin/stat,
/system/xbin/su,
/system/xbin/tar,
- /system/xbin/uncompress,
- /system/xbin/unlzma,
- /system/xbin/unxz,
- /system/xbin/unzip,
/system/xbin/xargs,
/system/xbin/md5sum,
/system/xbin/sha1sum
</string>
+ <!-- Optional shell commands in a pair=value format -->
+ <string name="shell_optional_commands" translatable="false">
+ zip=/system/xbin/zip,
+ unzip=/system/xbin/unzip,
+ unlzma=/system/xbin/unlzma,
+ unxz=/system/xbin/unxz,
+ uncompress=/system/xbin/uncompress,
+ unrar=/system/xbin/unrar
+ </string>
+
<!-- The mounts file -->
<string name="mounts_file" translatable="false">/proc/mounts</string>