| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add an ACTION_VIEW intent with matches with "resource/folder" mime type and a file/folder/directory scheme
Change-Id: I91afe762ebcaf9ead25d091ffaf4f705a8dd0515
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
| |
* Created by Jovie Brett Bardoles
Change-Id: I9c4067f100db25efd4b66d0fb03add94bc06642e
|
|
|
|
| |
Change-Id: I55cb3c0c5f9d96837e84ca4c89e30504e93c8668
|
|
|
|
|
|
|
|
| |
For devices that don't have root access, we need to add the WRITE_MEDIA_STORAGE
permission to get write access to the secondary external storage directory to
rename/copy/delete files
Change-Id: I4145bec0dd0c38414d8557f1ddc61bbb22d00359
|
|
|
|
| |
Change-Id: I92ffb45ec3ef0dc6feb8b8129bcb0fedf442ba54
|
|
|
|
| |
Change-Id: Ib633f84532507f2a32d78978a3c0c87d62617fd8
|
|
|
|
| |
Change-Id: I1702cf147b8ebc68f3a24175fa34cf397d823280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Change-Id: I6cd62ac6fe0b151530e3165152f98427503aede4
JIRA: CYAN-3546
Issue: https://jira.cyanogenmod.org/browse/CYAN-3546
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* used a modified version of DrawerLayout from the Support Library
* moved bookmarks and history there -> always accessible
* added a drawer icon
* made all themeable
* removed the BookmarksActivity and HistoryActivity
* removed the BookmarksAdapter and HistoryAdapter as they are useless
for LinearLayouts. I couldn't use ListViews because they scroll
vertically - as well as the drawer itself.
* removed the layouts for bookmarks and history
Patch Set 2: tab cleanup and reset code I didn't touch
Patch Set 3: fixed a FC after changing the theme when settings
were opened by the drawer's overflow menu
Patch Set 4: updated commit message
Patch Set 5: updated commit message
Patch Set 6: disabled "clear history" ActionBar action when
history is empty
Patch Set 7: fixed code style, fixed theme change issue with history
items in the drawer, updated theme previews
Patch Set 8: remove trailing whitespaces
Change-Id: I215211e771ec7c96a2a669cdcc440556c310d6db
|
|
|
|
|
|
|
| |
Use API 19 and READ_EXTERNAL_STORAGE as defined in KitKat
Change-Id: I5befeccec5a2f888d207e6a160d4c8efff33eec9
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
| |
Required change http://review.cyanogenmod.org/#/c/34118/
Change-Id: I0a2c38e33b10061dedab8f6ff1011bcbace4648d
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
| |
https://plus.google.com/103583939320326217147/posts/T9xnMJEnzf1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Change-Id: I44b0b2e5f718fd505060db47618fa4f5a93ed83b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is used e.g. by k-9 to select an attachment storage path.
There are a number of intent filter conventions for picking directories.
In k-9's code I found the following:
- action org.openintents.action.PICK_DIRECTORY, scheme file
- action com.estrongs.action.PICK_DIRECTORY, scheme file
- action Intent.ACTION_PICK, scheme folder
- action com.androidworkz.action.PICK_DIRECTORY, scheme file
Implemented is the third variant, as it's the most generic way to
describe the intention.
Change-Id: I8752fe0db923a9ca169cc09eeee6a13bb5236626
|
|
|
|
|
|
| |
Change project manifests to match AOSP 4.2 (API 17)
Change-Id: I2f66a185d8a78612ad7e542ed10c52e49c9eaeef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6606
This patch makes the next changes:
* Make the internal editor exportable. Now it can be treated as another activity and can be mark
as preferred activity, but only for text/* and some text mime/types. For undefined mime/types
categories, the internal editor is still used in a non preferred mode (internal editor cannot
be marked as preferred)
* When the internal editor in a non preferred mode is selected, 'remember' checkbox is hidden.
* Improve preferred activity resolution
* Allow clear a preferred activity on the open with dialog (when 'remember' checkbox is unchecked)
* For better compatibility, the internal editor now ignores the ACTION_EDIT action, so opened
files are always editables (with the exception of binary files that they are opened always as
read-only)
* Improved onIntentSelected with better NPE and internal editor checks
Change-Id: Ie42990a6c0ccbdd4bfab6ec23ae27cc808cac7b7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added support to be able to beam files via the file manager.
Steps :
1. Select one or multiple files via checkbox
2. Tap phones to beam file over
3. Enjoy !
Patchset 2 : Switch to callback
Patchset 3 : Remove debug messages
Patchset 4 : Add check to avoid crashes on devices without nfc
Patchset 5 : Rebase
Conflicts:
src/com/cyanogenmod/filemanager/activities/NavigationActivity.java
Change-Id: I005db2ebdabc0e83a92ae820cb98f73709d5f535
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Override onConfigurationChanged to help keep the state
intact and allow orientation change.
Patchset 2 : Override for other activities as well
Patchset 3 : Fixed scrollbars dialogs
Patchset 4 : Fixed landscape mode of picker activity
Patchset 5 : New landscape layout for NavigationActivity
Patchset 6 : Fix whitespace errors in copyright headers
Change-Id: Ibe52f0a0ebf0ea88d79dab1c8a06fb262d63ecb1
|
|
|
| |
Accessible from about preference setting
|
|
|
| |
Full refactoring of package from explorer to filemanager
|
|
|
|
|
|
| |
* This changes add a internal editor to view and edit root and non-root
files.
* Also add the logic to add internal editors to Associations Dialog
without make persistent the user selection.
|
|
|
| |
Fix naming
|
|
|
|
| |
This action allow to add a folder or file as a shortcut in the
device desktop.
|
| |
|
|
|
|
|
|
|
|
| |
This activity allows third party application to browse and get the
content using GET_CONTENT action and a mime/type.
This activity used the NavigationView in jail room mode and it's only
capable of pick a file (actions like open or others are not permitted)
* CleanUp
|
|
|
|
|
|
|
|
|
| |
The new fso action "Execute" allow execute a shell in the new
ExecutionDialog (a console like dialog), that display the ouput, time
and exit code of the execution.
It's only available for files with EXEC mime/type category.
* Added a new method to the async callback to return the exit code to
program caller.
* CleanUp
|
|
|
|
|
|
|
|
| |
Implementation of Open and Open with actions. This create a custom
dialog that allow show all registered application even when only one
application exists or has a preferred application.
This change requires a platform signature to allow use
addPreferredActivity or removePreferredActivity.
For this is not working. Need be tested and checked inside CM.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Create new Bookmarks provider (database + providers). Replace old
shared preferences based.
* New actions "Add to bookmarks" (global + fso).
* Initial support for "open" and "open with" actions.
* Clean up
|
|
|
| |
Initial development of settings preferences
|
| |
|
|
|