OSDN Git Service

android-x86/packages-apps-CMFileManager.git
9 years agoEnable ok button, filename is still valid.
Martin Brabham [Fri, 17 Apr 2015 23:39:32 +0000 (16:39 -0700)]
Enable ok button, filename is still valid.

Change-Id: I38f3be02e60597a169850c2a47127dac5784236c
(cherry picked from commit 16b30c40f8164c760d0e40c00e19bcc4dac67ccf)

9 years agoMake the new filename max length error message show.
Martin Brabham [Fri, 17 Apr 2015 19:36:21 +0000 (12:36 -0700)]
Make the new filename max length error message show.

Change-Id: Ic997110fb78d253c7d3602a5b81157fceb9f73b2

9 years agoAutomatic translation import
Michael Bestas [Fri, 17 Apr 2015 19:18:33 +0000 (22:18 +0300)]
Automatic translation import

Change-Id: I7afd40a46444c017c6dffbc9f8f5a057003c4d26

9 years agoCMFileManager: Fix CMFileManager display "sdcard1" and the content is null after...
kai.cao [Tue, 14 Apr 2015 08:42:27 +0000 (16:42 +0800)]
CMFileManager: Fix CMFileManager display "sdcard1" and the content is null after adding a new user/guest

step:
- new user or guest in Settings
- Go to CMFileManager and check

Change-Id: Id6da696b8173f0544a022bc5e3d64d94b7123526

9 years agoCMFileManager: Printing preview content is not show complete.
jing.zhao [Fri, 17 Apr 2015 01:22:02 +0000 (09:22 +0800)]
CMFileManager: Printing preview content is not show complete.

fix the PageCount from int to double

Change-Id: I72f1577f22b563456b43dded4058572d328009c3
(cherry picked from commit ed63368d1d085d4021329d6720ab7a32765b7768)

9 years agoImplement a dialog that warns the user that we must expose the content of the file
Martin Brabham [Wed, 15 Apr 2015 22:33:25 +0000 (15:33 -0700)]
Implement a dialog that warns the user that we must expose the content of the file
by copying it out to an unsecure location in order to allow the external applications
to read the files.

Change-Id: I163ccd21678f413170e44cf3e8d341cd4747b1ac
(cherry picked from commit 58928e7facbdd63d4320748b277e94417fe402bb)

9 years agoAutomatic translation import
Michael Bestas [Mon, 6 Apr 2015 21:49:37 +0000 (00:49 +0300)]
Automatic translation import

Change-Id: I1bdbe31959ec6bf2c0bb4b56a61127b6e2ab3722

9 years agoSupport RTL layouts everywhere.
Martin Brabham [Tue, 27 Jan 2015 23:27:12 +0000 (15:27 -0800)]
Support RTL layouts everywhere.

- Fix custom title text clipping.
- Fix breadcrumbs
- Remove FSO Dialog permission spinner width adjustment that did not
  function on RTL.
- Fix history and bookmarks items to align properly.
- Update layouts to function with RTL

Change-Id: I3cd4032887371509ec2847bae6f889558664a356
(cherry picked from commit d0d367d2d681e2372813a81246dea45eab572ce2)

9 years ago[CMFileManager] Always display searching progress after back to the search result...
jing.zhao [Wed, 15 Apr 2015 10:13:28 +0000 (18:13 +0800)]
[CMFileManager] Always display searching progress after back to the search result view

1.Go into the root directory, click the search icon and input the directory name(Such as: dlt).
2.In Search results view, you can see the dlt directory, then click the directory.
3.press back key, back to the Search results view, the lower right corner's searching progress has always show.

After Seaching, the searching progress shouldn't show.

Change-Id: Id1a3291effcebcd7c9536dec74175d6d019e83f1
(cherry picked from commit 37e947a354edad76d4e91258b535c4658b54e2e9)

9 years agoImplement ability to cancel file copy.
Martin Brabham [Fri, 3 Apr 2015 03:33:41 +0000 (20:33 -0700)]
Implement ability to cancel file copy.

- Short circuit Java CopyCommand for move/copy when the user cancels
  the dialog.
- Bubble up CancelledOperationException when the Cancel/Move operation
  is cancelled. Handle cancellation differently than success.

Change-Id: I3e4426aaccf42e12bf299041d489e72b3b76a626
(cherry picked from commit 7e13ec2fa4fc052c2a880a8dba8ed871b3bc10ca)

9 years agoFix deadlock when reading shell output.
Matt Garnes [Fri, 10 Apr 2015 00:40:00 +0000 (17:40 -0700)]
Fix deadlock when reading shell output.

Change-Id: Ia38ac6c415506f21ffde5a4c3e658e810dea92da
(cherry picked from commit 2f7e43ce8f37b61c2998aadc56c6323faae80c51)

9 years agoDetect text encoding with juniversalchardet.
Matt Garnes [Tue, 7 Apr 2015 01:25:47 +0000 (18:25 -0700)]
Detect text encoding with juniversalchardet.

- When opening files in the built in editor for display, detect the
  encoding with juniversalchardet, so that the correct encoding will be
  used.
- Use byte buffers to back ShellConsole instead of StringBuffers

Change-Id: I85fa567ef589a82f1c8604f1f215647376c31c9a
(cherry picked from commit 55c55835d3bd685dde542b4f5952ce401542ab84)

9 years agoCMFileManager: change dialog buttons to use dialog_text_color theme
Raj Yengisetty [Fri, 10 Apr 2015 21:11:36 +0000 (14:11 -0700)]
CMFileManager: change dialog buttons to use dialog_text_color theme

Also remove themed button background for dialog buttons, causes the
dialog buttons to appear too close to each other.

Change-Id: I7059ad3da2b958aeca63d451fbd4cb1a26e792a4
(cherry picked from commit 1ac66923d6169e31eaccc148563f7116de894567)

9 years agoAdd character limit for name input dialog.
Martin Brabham [Thu, 2 Apr 2015 22:42:49 +0000 (15:42 -0700)]
Add character limit for name input dialog.

Change-Id: I75539bbe90dbc278b360e1246c5218101d77abf7
(cherry picked from commit d34dfc6892760eb14a553bd9774a65aa211f6d7b)

9 years agoFix support for USB OTG.
Matt Garnes [Thu, 2 Apr 2015 01:25:45 +0000 (18:25 -0700)]
Fix support for USB OTG.

Properly listen for the Broadcast with an IntentFilter that includes the
path data scheme. Reload the mounted volumes upon ACTION_MEDIA_MOUNTED AND
ACTION_MEDIA_UNMOUNTED.

Change-Id: I71d90978fef05419d912ef2398bf99c23fdefee6
(cherry picked from commit e3922e43c8988c499c85115f1f14bef8c925e1ee)
(cherry picked from commit 8656db649d0a88fc126e468b7ac81d8d3ea091ae)
(cherry picked from commit 860ef9fbf513e1a4267e391453a2021d0ac20f63)

9 years agoCMFileManager: show hamburger icon for the navigation drawer
Raj Yengisetty [Wed, 1 Apr 2015 18:48:49 +0000 (11:48 -0700)]
CMFileManager: show hamburger icon for the navigation drawer

This was broken in 5.1

Change-Id: Ib2ec68a4b9c288855c1b58f7f732bf7ee840c3ec

9 years agoCatch RuntimeException when opening 3gp files for inspection.
Matt Garnes [Wed, 1 Apr 2015 18:38:44 +0000 (11:38 -0700)]
Catch RuntimeException when opening 3gp files for inspection.

When reading metadata from .3gp files, FileManager can crash if the file
is unreadable. MediaMetaDataRetriever.setDataSource() throws
RuntimeException if this happens. Catch it.

Fixes NIGHTLIES-958.

Change-Id: I465f7c961793b468e0469a5844894f3ed56b374c
(cherry picked from commit 4bd0d070f76d5180e6de1d20843bb9c16a782f4c)

9 years agoCMFileManager: change warning drawables used in dialogs for visibility
Raj Yengisetty [Tue, 31 Mar 2015 16:49:39 +0000 (09:49 -0700)]
CMFileManager: change warning drawables used in dialogs for visibility

Change-Id: I5256322a460f8fab268a6f36022aece2bdabd677

9 years agoAutomatic translation import
Michael Bestas [Mon, 30 Mar 2015 22:49:21 +0000 (01:49 +0300)]
Automatic translation import

Change-Id: I761573acfc3cdd1fb7885b1cc173b4dcc113ac87

9 years agoCMFileManager: account for displayed dialogs during activity tear down
Raj Yengisetty [Mon, 30 Mar 2015 17:07:09 +0000 (10:07 -0700)]
CMFileManager: account for displayed dialogs during activity tear down

Repro:
 - Start copying a large file (>100 MB)
 - Leave CMFM and trigger a config change
   (e.g. set text size to small in Settings -> Display)
 - Return to CMFM
 - Observe: window leak in logcat

Change-Id: Ic875d4f86edf0446b889e6442126bd76a692a7c6

9 years agomake sure MountPointInfo and DiskUsageInfo runs in the UI Thread.
André Rivotti Casimiro [Mon, 30 Mar 2015 10:08:06 +0000 (11:08 +0100)]
make sure MountPointInfo and DiskUsageInfo runs in the UI Thread.

At some point the original View was dettached and both mMountPointInfo and mDiskUsageInfo handler's were null which means the Ruannable wasn't executed.

Change-Id: I883af543b19bc644e451109675c241a8c84e5d64
(cherry picked from commit d7558cf8cdbcc377264c3ff1f05e2c202380c97e)

9 years agoSupport ambigous file extension mimetypes.
Matt Garnes [Tue, 24 Mar 2015 00:52:59 +0000 (17:52 -0700)]
Support ambigous file extension mimetypes.

Previously, CMFileManager operated under the assumption that file
extensions map to exactly one mimetype. This is not true in some cases,
such as .3gp files, which can have an audio or video mimetype.

Add support so that in mime_types.properties we can specify a comma
separated list of mimetype info that are matched with a given extension.
If an AmbiguousExtensionHelper subclass implementation is provided for one of these
extensions, this is used to determine the correct mimetype for the file.

Change-Id: Ie73d6ad646692dfeac112ac50c1c6436e6b5559b

9 years agoCMFileManager: Fixed string typo
Zyg0te [Tue, 24 Mar 2015 23:06:14 +0000 (00:06 +0100)]
CMFileManager: Fixed string typo

Change-Id: Ied59603a11be19f10eb11d1ef8b9d3a043f110cc

9 years agoCMFileManager: Changed status string to something more descriptive
Zyg0te [Tue, 24 Mar 2015 22:53:45 +0000 (23:53 +0100)]
CMFileManager: Changed status string to something more descriptive

Currently the status switch doesnt really communicate what its
indicating the status for. If it's supposed to be indicating whether the
partition is mounted or not, the status string should indicate as much.

Change-Id: Ia3a89bb7ef4c603c596777e9cc0f6cae613b990f

9 years agocmfm: reduce banner size and adjust ratio to fit the banner view bounds
Jorge Ruesga [Mon, 23 Mar 2015 23:13:55 +0000 (00:13 +0100)]
cmfm: reduce banner size and adjust ratio to fit the banner view bounds

Change-Id: I46df6cb1c167fac8d7fe5a7b83f572634cfb44f4
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: fix typo in xml drawable
Jorge Ruesga [Mon, 23 Mar 2015 22:58:13 +0000 (23:58 +0100)]
cmfm: fix typo in xml drawable

Change-Id: I414a67eb4fbc022b72eaa6c41b173a12a66a11e8
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: update changelog
Jorge Ruesga [Mon, 23 Mar 2015 21:17:01 +0000 (22:17 +0100)]
cmfm: update changelog

Change-Id: I29dda23c3e30da28288733fb8bb93ba20730ca42
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agoCMFileManager: Removed copyright portion of about_summary
Zyg0te [Mon, 23 Mar 2015 20:15:37 +0000 (21:15 +0100)]
CMFileManager: Removed copyright portion of about_summary

Change-Id: If794766a6b55a3a289bec5c3a96b9c3cea15588c

9 years agoCMFileManager: Nitpicking on strings
Zyg0te [Sun, 22 Mar 2015 13:37:33 +0000 (14:37 +0100)]
CMFileManager: Nitpicking on strings

Secure Storage password reset is probably better described as a password
change, as you have to submit both the old and new password to perform
the change.

Syntax Highlighting sounds better than just Syntax Highlight, doesnt it?
Change-Id: Ibf28d93c3cf38e4c706687eddd78fa4aebc2038a

9 years agoAutomatic translation import
Michael Bestas [Sun, 22 Mar 2015 18:00:21 +0000 (20:00 +0200)]
Automatic translation import

Change-Id: Id732c533564852b4c13d31fe0fba1c9c984729c3

9 years agoCMFileManager: Fixed positioning of title in editor custom ActionBar layout
Zyg0te [Sun, 22 Mar 2015 13:34:14 +0000 (14:34 +0100)]
CMFileManager: Fixed positioning of title in editor custom ActionBar layout

The title TextView cannot be set left of a view within separate the LinearLayout
containing the ActionBar buttons. Hence we set it to be left of the
LinearLayout itself. This fixes the issue where the long title texts would
cover the ActionBar buttons.

Change-Id: I4f9883bb6aad6f7ceededc35305aa0c25d274acd

9 years agoCMFileManager: Check if intent action is null when applying user defined
Zyg0te [Sun, 22 Mar 2015 13:29:51 +0000 (14:29 +0100)]
CMFileManager: Check if intent action is null when applying user defined
initial directory

This prevents the app from crashing when locking secure storage.

Change-Id: I9169eabae7ee47ac78479dcfc6f03293d98e1c94

9 years agoCMFileManager: set search item icon to fixed width and centerCrop
Raj Yengisetty [Fri, 20 Mar 2015 00:13:51 +0000 (17:13 -0700)]
CMFileManager: set search item icon to fixed width and centerCrop

Change-Id: If89a55a8d1212774709176ae9af7df6f761f9005

9 years agoCMFileManager: set compute folder statistics to true by default
Raj Yengisetty [Tue, 17 Mar 2015 23:42:32 +0000 (16:42 -0700)]
CMFileManager: set compute folder statistics to true by default

Change-Id: Iaf22257a9227722029956094ae06ccf0df524541
(cherry picked from commit 19862d7c51143136c25d03b741156a0fda68c768)

9 years agoCM File Manager - Gracefully handle renaming on case-insensitive filesystems
Rohit Yengisetty [Fri, 6 Mar 2015 00:35:21 +0000 (16:35 -0800)]
CM File Manager - Gracefully handle renaming on case-insensitive filesystems

Add edge case handling to move/copy commands wherein something is being
renamed to a different-cased version of itself.

Ex : renaming 'mydocuments' to 'MyDocuments'

https://jira.cyanogenmod.org/browse/BACON-3074

Change-Id: Id90de5fd083e341371f250c0194f200388cf4941

9 years agocmfm: delete obsolete themes resources
Jorge Ruesga [Thu, 19 Mar 2015 11:45:54 +0000 (12:45 +0100)]
cmfm: delete obsolete themes resources

Change-Id: I3fc24f739b16ab6104a4349f0c8efe0eff790fbd
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: force colorControlNormal to white
Jorge Ruesga [Thu, 19 Mar 2015 11:15:56 +0000 (12:15 +0100)]
cmfm: force colorControlNormal to white

This fixed the color of actionbar controls (like search widget)

Change-Id: I7a78cc7cd6bee262224b1d881b645aaef504be29
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: fix edit home bookmark icon
Jorge Ruesga [Thu, 19 Mar 2015 10:45:53 +0000 (11:45 +0100)]
cmfm: fix edit home bookmark icon

Change-Id: I0da0a0b01f49d24edab30a72decd240996b5ccfe
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agoCMFileManager: Fix back press events of SearchActivity
xiao.hu [Tue, 17 Mar 2015 13:12:46 +0000 (06:12 -0700)]
CMFileManager: Fix back press events of SearchActivity

epro:
- SearchActivity to audio file
- Open audio file with small player (e.g. Play Music)
- Press back
- Observe: audio player closes and CMFM SearchActivity up one directory(NavigationActivity)

Change-Id: I4ab1faa1d061eea97050b89e96c1bdf1df66db3f

9 years agoCMFileManager: protect code path for access mSdBookmarks
Raj Yengisetty [Fri, 13 Mar 2015 16:25:48 +0000 (09:25 -0700)]
CMFileManager: protect code path for access mSdBookmarks

FATAL EXCEPTION: main

AndroidRuntime: Process: com.cyanogenmod.filemanager, PID: 2587

AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference

AndroidRuntime:  at com.cyanogenmod.filemanager.activities.NavigationActivity.applyInitialDir(NavigationActivity.java:1626)

AndroidRuntime:  at com.cyanogenmod.filemanager.activities.NavigationActivity$15.run(NavigationActivity.java:1521)

AndroidRuntime:  at android.os.Handler.handleCallback(Handler.java:739)

Change-Id: I2aec4fd6a5b8fcd31cd128f8f46cc9f88bca191e

9 years agoAutomatic translation import
Michael Bestas [Sat, 14 Mar 2015 23:47:15 +0000 (01:47 +0200)]
Automatic translation import

Change-Id: I1e77140dc7177e10bc98fcbdfe2110f6dc96a9d6

9 years agoCMFileManager: Fix back press events
Raj Yengisetty [Wed, 11 Mar 2015 23:01:01 +0000 (16:01 -0700)]
CMFileManager: Fix back press events
Use onBackPressed in stead of onKeyUp for back press events

Repro:
- Navigate to audio file
- Open audio file with small player (e.g. Play Music)
- Press back
- Observe: audio player closes and CMFM navigates up one directory

Change-Id: Ia7440c45241ec957b2405b932525235c92b9211c

9 years agoCMFileManager: Improved confusing, cumbersome and incorrect strings
Zyg0te [Sun, 8 Mar 2015 01:06:39 +0000 (02:06 +0100)]
CMFileManager: Improved confusing, cumbersome and incorrect strings

The string describing how you cannot move a folder to an invalid
destination seemed confusing and cumbersome. Here is my suggested edit.

Also fixed a minor typo in another string as well as cleaning up
reduntant error title string.

Change-Id: I7c94433a0a8c3d176e806038cfdac2d48a1f6432

9 years agoAutomatic translation import
Michael Bestas [Fri, 6 Mar 2015 20:59:47 +0000 (22:59 +0200)]
Automatic translation import

Change-Id: I2f43319fbbe7fc6af129cecdfe014878b74f9ae4

9 years agoAutomatic translation import
Michael Bestas [Sat, 28 Feb 2015 00:22:01 +0000 (02:22 +0200)]
Automatic translation import

Change-Id: Ibcf54ff0f8881345dd9bbf4b74a713947e0033a2

9 years agocmfm: add support for init navigation in a concrete folder
Jorge Ruesga [Fri, 27 Feb 2015 17:53:47 +0000 (18:53 +0100)]
cmfm: add support for init navigation in a concrete folder

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>
9 years agocmfm: add support for Intent.EXTRA_MIME_TYPES
Jorge Ruesga [Thu, 26 Feb 2015 01:00:56 +0000 (02:00 +0100)]
cmfm: add support for Intent.EXTRA_MIME_TYPES

Since KitKat GET_CONTENT supports Intent.EXTRA_MIME_TYPES to limit the mime types of the returned
data. Use this information to add mimetype restrictions (if #getType is not present).

Change-Id: Ia968e06d899f695ea555c746d90bb5a3231cc1c9
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: update save icon to material design
Jorge Ruesga [Mon, 23 Feb 2015 22:40:51 +0000 (23:40 +0100)]
cmfm: update save icon to material design

Change-Id: I9dca8ef158f17288a5ed3fd9e7d6f695c10f4207
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agoCM File Manager - Intent to open video files will have a playlist attached
Rohit Yengisetty [Wed, 18 Feb 2015 18:21:33 +0000 (10:21 -0800)]
CM File Manager - Intent to open video files will have a playlist attached

In SearchActivity, intent to open video files will have an extra added
with the list of all videos in the search results.

Change-Id: Ibf48e74fd9f43ee3ac60575bad6c8f9fe1ec70ee

9 years agoAutomatic translation import
Michael Bestas [Wed, 18 Feb 2015 19:48:46 +0000 (21:48 +0200)]
Automatic translation import

Change-Id: I5d43763f9a2f7fca48a26e5bddc7aa65d1a91c13

9 years agoCM File Manager - Make AsyncResultExecutable's cancel() and end() innocuous
Rohit Yengisetty [Tue, 10 Feb 2015 18:44:26 +0000 (10:44 -0800)]
CM File Manager - Make AsyncResultExecutable's cancel() and end() innocuous

Ensure that cancel() and end() calls don't block the current thread
unnecessarily waiting for a notify().

Change-Id: I05843c8e1bdf880243e1fe9a226809aeaf33986b

9 years agoAutomatic translation import
Michael Bestas [Tue, 10 Feb 2015 21:37:42 +0000 (23:37 +0200)]
Automatic translation import

Change-Id: I319e2b93d627e22280259c2691679445944ff4d6

9 years agoCMFileManager: Don't show unmounted volumes in PickerActivity
Raj Yengisetty [Wed, 4 Feb 2015 02:32:15 +0000 (18:32 -0800)]
CMFileManager: Don't show unmounted volumes in PickerActivity

Change-Id: I628077e6132ffb4aa9f561484630e1f29b1188a5

9 years agoCM File Manager : Add Application category to Easy Mode List
Rohit Yengisetty [Tue, 27 Jan 2015 19:55:38 +0000 (11:55 -0800)]
CM File Manager : Add Application category to Easy Mode List

* add shortcut to search for application mimetypes (apk,
  msi, deb etc)
* fix layout inflater bug that was causing layout params
  to be ignored

Change-Id: I4bd63fdbdf720a49b536bc811ec10255cc2427db

9 years agoNew Material icon
Michael Bestas [Mon, 2 Feb 2015 07:00:00 +0000 (09:00 +0200)]
New Material icon

* Created by Jovie Brett Bardoles

Change-Id: I9c4067f100db25efd4b66d0fb03add94bc06642e

9 years agoCM File Manager : Populate results as they are found while searching
Rohit Yengisetty [Fri, 30 Jan 2015 00:38:09 +0000 (16:38 -0800)]
CM File Manager : Populate results as they are found while searching

Eliminate the need to wait for a search to finish before accessing the
search results. The search results are streamed concurrently while
the search is still in progress.

Change-Id: I15f5b87ef4fbbbe9df2ee7a8428d9c812cadf159

9 years agoAdd chinese translations
emancebo [Tue, 27 Jan 2015 17:54:54 +0000 (09:54 -0800)]
Add chinese translations

Change-Id: I296c0173fac9206c2e6b162279fe9d21c64c1987

9 years agoCMFileManager: Hide cmcc "easy mode" behind overlay config.
Adnan Begovic [Mon, 26 Jan 2015 19:58:48 +0000 (11:58 -0800)]
CMFileManager: Hide cmcc "easy mode" behind overlay config.

Change-Id: I4d905c118e0e76c12555d5fac8d0bc83d4499923

9 years agoCM File Manager - Enable Thumbnail previews by default
Rohit Yengisetty [Mon, 26 Jan 2015 19:24:47 +0000 (11:24 -0800)]
CM File Manager - Enable Thumbnail previews by default

Change-Id: I89cc057bd712e859659a162dfdd78bb5d80d97e3

9 years agoCM File Manager : Change Document search to include TEXT mime types
Rohit Yengisetty [Fri, 23 Jan 2015 01:02:34 +0000 (17:02 -0800)]
CM File Manager : Change Document search to include TEXT mime types

> modify SearchActivity to accept multiple mime type categories
> "Document" in EasyMode also searches for TEXT mime types

Change-Id: I2a23b824d576500d5aeb0f5f7628e489a10e9456

9 years agoCMFileManager: Add some simplified chinese translations
linus_lee [Tue, 20 Jan 2015 23:49:51 +0000 (15:49 -0800)]
CMFileManager: Add some simplified chinese translations

Because of some internal deadlines, we will submit these
manually but Crowdin eventually will overwrite these values

Change-Id: I5df2953a2d9e8151bbea0586911c158afcbf6403

9 years agoFile Manager: Add additional supported filetypes.
Matt Garnes [Wed, 21 Jan 2015 09:09:47 +0000 (17:09 +0800)]
File Manager: Add additional supported filetypes.

- Add new filetypes (xmf, 7z, etc.)
- Reorder one or two so that the sections that resemble alphabetical
  order maintain it.

Change-Id: Ib34216ddac6dd20face5e47e5c5ea3857c850ade

9 years agoInform the user if copy/move fails with no space remaining.
Matt Garnes [Tue, 20 Jan 2015 11:09:06 +0000 (19:09 +0800)]
Inform the user if copy/move fails with no space remaining.

- 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

9 years agoHide unmounted or removed media from the navigation drawer.
Martin Brabham [Thu, 15 Jan 2015 19:13:30 +0000 (11:13 -0800)]
Hide unmounted or removed media from the navigation drawer.

Change-Id: I20dd315b8e60434918faec8551f82df83166cc1e

9 years agoAdd special case for Gallery2 when opening image files.
Matt Garnes [Sat, 17 Jan 2015 08:58:20 +0000 (16:58 +0800)]
Add special case for Gallery2 when opening image files.

Gallery2 will change the back button behavior when opening a media URI
to a specific image with FLAG_ACTIVITY_NEW_TASK. Do not use this flag
for intents resolving to Gallery2 for media URIs.

Change-Id: I26d36536bf071403bfd6d8430c2656f1b3ec3449

9 years agoCMFileManager : Adding mime-type support for audio/amr
Rohit Yengisetty [Sat, 17 Jan 2015 02:14:35 +0000 (18:14 -0800)]
CMFileManager : Adding mime-type support for audio/amr

Change-Id: I19a5774e51e4422d20ab0c073d7ff65e5a51d52a

9 years agoCMFileManager: Include sort by type
Raj Yengisetty [Tue, 13 Jan 2015 03:21:26 +0000 (11:21 +0800)]
CMFileManager: Include sort by type

Change-Id: I44730f6493ee79bbcff49045568d14192544839b

9 years agoCMFileManager: Add sort by size
Raj Yengisetty [Mon, 12 Jan 2015 08:12:21 +0000 (16:12 +0800)]
CMFileManager: Add sort by size

Change-Id: Iae8c47beb8f229bb5e1936c0dbd153f356b099d7

9 years agoCMFM: Remove unused strings
Michael Bestas [Fri, 9 Jan 2015 00:04:27 +0000 (02:04 +0200)]
CMFM: Remove unused strings

Change-Id: I761efbeddd49f4470582a328ba7d0e56b2cbc016

9 years agoCMFM: Implement initial landing view for "External Storage Bookmarks"
Martin Brabham [Wed, 7 Jan 2015 22:00:48 +0000 (14:00 -0800)]
CMFM: Implement initial landing view for "External Storage Bookmarks"

Change-Id: Ic542043190ccf18dff106a8b358ef94aa2ebbe96

9 years agoCMFileManager: Return after setting result for Directory Selection
Raj Yengisetty [Thu, 8 Jan 2015 17:16:22 +0000 (09:16 -0800)]
CMFileManager: Return after setting result for Directory Selection

Change-Id: I7f1134718f71ebf3b37118dae45639c52791d66c

9 years agoCMFileManager: Add support for directory selection
Raj Yengisetty [Thu, 8 Jan 2015 00:22:13 +0000 (16:22 -0800)]
CMFileManager: Add support for directory selection

Change-Id: I55cb3c0c5f9d96837e84ca4c89e30504e93c8668

9 years agoCMFileManager: change breadcrumb views in dialogs for better visibility
Raj Yengisetty [Wed, 7 Jan 2015 23:15:41 +0000 (15:15 -0800)]
CMFileManager: change breadcrumb views in dialogs for better visibility

Change-Id: I0af7aef6d2605c1a2bf107ffce87236b01f11c42

9 years agoCMFileManager: Add WRITE_MEDIA_STORAGE permission for devices without root
linus_lee [Fri, 2 Jan 2015 21:03:38 +0000 (13:03 -0800)]
CMFileManager: Add WRITE_MEDIA_STORAGE permission for devices without root

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

9 years agoCMFileManager : Settings - Checkbox to Switches
x10f [Mon, 29 Dec 2014 19:00:46 +0000 (14:00 -0500)]
CMFileManager : Settings - Checkbox to Switches

As recommended: http://developer.android.com/design/building-blocks/switches.html
This also adds some more design consistency.

Change-Id: I59bb3fc3499a3f782934cdd6c8ec5529cfd21e12

9 years agoCMFileManager:
Martin Brabham [Wed, 17 Dec 2014 20:17:04 +0000 (12:17 -0800)]
CMFileManager:
 - Use Environment function to be more compatible.
 - Take into account the directory sizes
 - Fix usage dialog jumping on first open.
 - Fix Java DiskUsageCommand to return correct DiskUsage based on MountPoint

Change-Id: I62c4e734a99f5eba8eb596db360e760cb8404b51

9 years agoCMFileManager: add usage stats by mime type
Martin Brabham [Mon, 15 Dec 2014 18:28:45 +0000 (10:28 -0800)]
CMFileManager: add usage stats by mime type

Change-Id: I92ffb45ec3ef0dc6feb8b8129bcb0fedf442ba54

9 years agoCMFileManager : Delete from media store when renaming/deleting files
Danesh M [Sat, 13 Dec 2014 03:26:21 +0000 (19:26 -0800)]
CMFileManager : Delete from media store when renaming/deleting files

Change-Id: I0bee07a683a7799fb118eb2d1ac313654a29a64e

9 years agoCMFileManager : Pass appropriate media type uri when ACTION_VIEW
Danesh Mondegarian [Sun, 14 Dec 2014 20:00:27 +0000 (12:00 -0800)]
CMFileManager : Pass appropriate media type uri when ACTION_VIEW

Passing the appropriate uri and not the generic File table uri,
allows apps such as gallery to allow paging in the appropriate folder.

Change-Id: I622680d0e27c304fb83532ccc2e026ff9e112a5b

9 years agoCMFileManager: Allow for sorting by mime type in search.
Adnan Begovic [Tue, 25 Nov 2014 00:37:05 +0000 (18:37 -0600)]
CMFileManager: Allow for sorting by mime type in search.

Change-Id: Ib633f84532507f2a32d78978a3c0c87d62617fd8

9 years agoCMFileManager: Fix force close when sharing more than one file at a time
Raj Yengisetty [Mon, 1 Dec 2014 19:06:34 +0000 (11:06 -0800)]
CMFileManager: Fix force close when sharing more than one file at a time

Change-Id: I64eb78ad4a2bbbe5626c0c93c4a80e0b8b97777b

9 years agoCMFileManager: Add mimetype to search result.
Adnan Begovic [Mon, 24 Nov 2014 22:39:13 +0000 (16:39 -0600)]
CMFileManager: Add mimetype to search result.

Change-Id: I9a386a4f56ab5e0ccd1add58e0d65870f4bf17d5

9 years agoCMFileManager: Lollipopification
Adnan Begovic [Thu, 27 Nov 2014 01:44:07 +0000 (19:44 -0600)]
CMFileManager: Lollipopification

Change-Id: I1702cf147b8ebc68f3a24175fa34cf397d823280

9 years agoCMFM: Improve delayed sync string
Michael Bestas [Sun, 23 Nov 2014 23:07:22 +0000 (01:07 +0200)]
CMFM: Improve delayed sync string

Change-Id: Ief70bedbc0b5458eac93828a30dc00beaa30d7a5
(cherry picked from commit 226bb60604e7be3f499af3b209a8d16801e15826)

9 years agocmfm: allow prompt console without su command
Jorge Ruesga [Fri, 21 Nov 2014 01:03:36 +0000 (02:03 +0100)]
cmfm: allow prompt console without su command

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>
9 years agocmfm: fix ensure read, write and execute checks in java console
Jorge Ruesga [Fri, 21 Nov 2014 00:01:12 +0000 (01:01 +0100)]
cmfm: fix ensure read, write and execute checks in java console

Change-Id: I03e6117f6f660c46aa9df9ff8ebf7c602badb40a
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: Readd drawer toggle item selection
Jorge Ruesga [Wed, 19 Nov 2014 23:51:07 +0000 (00:51 +0100)]
cmfm: Readd drawer toggle item selection

Change-Id: I1d11a96767238dd9c4108b14cff89fa34975c1d6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: Fix clear history button visibility logic
Jorge Ruesga [Mon, 17 Nov 2014 21:44:26 +0000 (22:44 +0100)]
cmfm: Fix clear history button visibility logic

Change-Id: I736a27d63363ce7d5ddbc871a6a5d74a40794113
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: Fix FC with hardware menu
Jorge Ruesga [Mon, 17 Nov 2014 21:23:57 +0000 (22:23 +0100)]
cmfm: Fix FC with hardware menu

JIRA: NIGHTLIES-364
https://jira.cyanogenmod.org/browse/NIGHTLIES-364
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Change-Id: I6c3f56f841f7ec69004cd4a280fdd191a47e4844

9 years agoCMFM: Improve strings
Michael Bestas [Sun, 16 Nov 2014 20:53:58 +0000 (22:53 +0200)]
CMFM: Improve strings

* Don't wrap, strings appear bad on crowdin

Change-Id: I94fc1c8d155f324e984c50f25b7f3ea587595dc4

9 years agocmfm: secure storage and other improvements
Jorge Ruesga [Tue, 28 Oct 2014 02:26:42 +0000 (03:26 +0100)]
cmfm: secure storage and other improvements

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>
9 years agoAutomatic translation import
Michael Bestas [Mon, 10 Nov 2014 01:48:30 +0000 (03:48 +0200)]
Automatic translation import

Change-Id: Ic95c2fd0068afb8ca5dc8a2621e17c5abcc810fd

9 years agoCMFileManager : Fix details menu for multiple selections
Danesh M [Fri, 7 Nov 2014 07:56:05 +0000 (23:56 -0800)]
CMFileManager : Fix details menu for multiple selections

If single file is selected, send appropriate info.
If multiple files are selected, don't show properties menu

Change-Id: I5149cce2f82fae11aa8e3500a274f750f177117a

9 years agoAutomatic translation import
Michael Bestas [Mon, 27 Oct 2014 20:03:11 +0000 (22:03 +0200)]
Automatic translation import

Change-Id: I54db8a640bf63852b66eb9e5cfdabc36e58a28a6

9 years agoAutomatic translation import
Michael Bestas [Mon, 20 Oct 2014 21:06:31 +0000 (00:06 +0300)]
Automatic translation import

Change-Id: I7d4f3345d3a6909baa3e1f7e1b3bbfc980af8f7c

9 years agoAutomatic translation import
Michael Bestas [Tue, 14 Oct 2014 22:36:30 +0000 (01:36 +0300)]
Automatic translation import

Change-Id: I48ba2fea1c16d6f3d3185a84653c4c5f081523d3

9 years agoAutomatic translation import
Michael Bestas [Sat, 4 Oct 2014 17:11:41 +0000 (20:11 +0300)]
Automatic translation import

Change-Id: Ib28cd1efb3481519c1cbd161105bd6fdcca214b3

9 years agoMerge "cmfm: use textview instead of a edittext" into cm-11.0
Jorge Ruesga [Wed, 1 Oct 2014 22:48:51 +0000 (22:48 +0000)]
Merge "cmfm: use textview instead of a edittext" into cm-11.0

9 years agocmfm: use textview instead of a edittext
Jorge Ruesga [Wed, 1 Oct 2014 22:48:30 +0000 (00:48 +0200)]
cmfm: use textview instead of a edittext

Change-Id: I75fa55cea73984ba1a09c230affc4efc38f8531e
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
9 years agocmfm: use courier typeface for hex editor
Jorge Ruesga [Wed, 1 Oct 2014 22:46:44 +0000 (00:46 +0200)]
cmfm: use courier typeface for hex editor

Change-Id: Ida126db75f09cdbfdd6f25c08130c11e0ee8e601
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>