aboutsummaryrefslogtreecommitdiff
path: root/src/com/cyanogenmod/filemanager/util/ExceptionUtil.java
Commit message (Collapse)AuthorAgeFilesLines
* Inform the user if copy/move fails with no space remaining.Matt Garnes2015-01-211-7/+15
| | | | | | | | | - Detect the specific IOException representing no space left on the device. Throw an ExecutionException for this particular case. - Support translatable ExecutionExceptions that specify a string resource as a message. Change-Id: I798cc3c194b78d3a2d13685d29cfbb580de3f30e
* cmfm: allow prompt console without su commandJorge Ruesga2014-11-211-0/+11
| | | | | | | | | Separete shell console commands from su command. This allow to create a shell console when su command is not present. A warning will be displayed is root mode is trying to be selected or a elevated operation is required. Change-Id: I27a2e850aec87026c8dd4b3baacf7ebd0f897a1a Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* cmfm: secure storage and other improvementsJorge Ruesga2014-11-101-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for virtual filesystems and implements a SecureStorage filesystem (a password protected area) mounted in /storage or /sdcard/storage (in chrooted environments). Also includes a better print support and a cleanup of the code and design of the menu drawer. Bump version to 2.0.0 Required: https://github.com/jruesga/android_external_libtruezip located in external/libtruezip Patchset 4: Fix selection of unmounted virtual storages. Fix actions on virtual mount points folders. Fix strings and typos. Change drop for delete secure storage. Patchset 5: Move actionbar buttons to navigation drawer Remove history position Patchset 6: Update theme preview images Fix filesystem status image on theme change Patchset 7: Fix binary file detection in editor (including unicode files) Patchset 8: Fix unsafe operations in virtual mountpoint logic Patchset 9: Rebase Change-Id: I65511352ca649dcbf238c8b07cf8c22465296e8e Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Mount emulated storage in root mode.Danny Baumann2013-10-081-48/+49
| | | | | | | | Make sure to tell su to mount the emulated storage. As this means that the su shell lives in its own mount namespace, perform remount operations on both the foreground and the background console. Change-Id: I9372eefa1df91d1ecd3c89a25a391b977d77da45
* CMFileManager: Add a dismiss listener for the exceptions YesNo dialogsJorge Ruesga2013-09-191-0/+9
| | | | | Change-Id: I73842a09f87fa12ee5b7d7220627e889165c9f54 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Fix relaunchables exceptionsJorge Ruesga2013-01-131-1/+0
| | | | | Change-Id: I5bccabb0d58c48ef883e8c730bc3ba36b657b0c6 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFM: Fix FC caused by accessing ui outside of UI threadJorge Ruesga2013-01-071-0/+1
| | | | | | | Patchset 2: Formatting Change-Id: I1323b4f92a64dd23afe4aa28d3569ce01d72c039 Signed-off-by: jruesga <jorge@ruesga.com>
* CMFileManager: Fix Typoinvisiblek2012-12-111-1/+1
| | | | Change-Id: I159e434573698e5e437aa63783a233cb96046f46
* CMFileManager: Fixes for non-rooted devicesJorge Ruesga2012-11-131-1/+1
| | | | | | | | | | | | | 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
* CMFileManager: Themes support + Dark themeJorge Ruesga2012-11-111-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enabled the theme support, and added a new dark theme under the package CMFileManagerThemes. To compile under build system, it must be enabled in vendor/cm/config/common.mk or vendor/cm/config/themes_common.mk (this was requested in change http://review.cyanogenmod.org/#/c/26311/) Themes were enabled in a new settings option. Under this setting the application show the user the available themes installed in the system. -------------------- For build new themes, developers should: - Create a new package that contains an activity with: * Permission: com.cyanogenmod.filemanager.permissions.READ_THEME * Action: com.cyanogenmod.filemanager.actions.MAIN_THEME * Category: com.cyanogenmod.filemanager.categories.THEME - Define the themes_ids, themes_names and themes_descriptions arrays-strings definitions for the themes that the package support. - Create a xxx_theme.xml for every theme that the package support, where the xxx is the id of the theme. Put your resources in this file, prefixing the resource with the id of the theme (xxx_). For a list of all supported resources see theme.xml in res/values of CMFileManager project. ------------------- Other fixes: * Protect console buffers from NPE * Fix code style of xmls (layouts, drawables, ...) Patchset 2: Fixed code style and added Christian suggestion Patchset 3: Added forgotten READ_THEME permission check as described in the note above. Patchset 4: Use centerInside in theme preview for better image fit Change-Id: I4142da6d9ed1b06318e47ff9c05f9a874c62f3ae
* Fix coding stylejruesga2012-10-271-1/+2
|
* Delete confirmation dialog box title is wrong (Issue #18)jruesga2012-10-271-1/+3
| | | | | | | * New dialog title mode (no icons, except were they are needed [welcome and picker]) * Title text without allCaps * New title color * Remove unused drawables
* Remove console selection (Issue #17) - Part II (Settings & Code)jruesga2012-10-271-1/+3
|
* Change application name to 'File Manager' (issue #20)jruesga2012-10-261-0/+355
Full refactoring of package from explorer to filemanager