aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [CMFileManager]Fix click two times when check the 'Skip media scan' in ↵stable/cm-12.1-YOG3Ckai.cao2015-04-291-1/+1
| | | | | | | | | | | | | | | Secure storage Procedures 1.Go to “File Manager”. 2.Enter the secure directory and Press the menu button. 3.Press the Properties item. 4.Check the media scan. Pop "Failed to prevent media scanning" and should click again. Change-Id: I7990683e373c05fdfcee47bf5189820206bceba5
* Automatic translation importMichael Bestas2015-04-2523-25/+39
| | | | Change-Id: I4d2b17d0f4ec00915ff36255a8ccfce547a88db1
* CMFM: Support launching from AndroidTV LeanBack UIdhacker292015-04-232-0/+11
| | | | Change-Id: I306922501daa030a3ab401771bca57506d160fed
* [CMFileManager] Fix "File Manager isn't responding..." pops up after tapping ↵kai.cao2015-04-221-10/+10
| | | | | | | | | | | | | | "Secure storage" in File Manager Procedures 1.Go to “File Manager”. 2.Press "Menu" icon on upper left corner,and then tap "Secure storage". 3.Select "CANCEL" when the note "Create storage" pops up. 4.Repeat Step2 again,check the phone Have no response when pressing "Secure storage",wait about 10-20s,the note "File Manager isn't responding..." pops up. Change-Id: I8ce4b55002d6fc34f89c4a59404469e7f3637cbc
* Improve string for crowdinMichael Bestas2015-04-221-3/+1
| | | | | | | * Unnecessary line wrapping appears bad on crowdin Change-Id: I75b4e81f85b2d3cf5aef960e3be4e3b4881dad91 (cherry picked from commit 164c3d9e6e5a1a8fe5d82fc5027820655165cf77)
* [CMFileManager] Fix the DrawerLayout don't disapper after press back key.kai.cao2015-04-211-0/+4
| | | | | | | | | | | Procedures 1.Go into filemanager and enter a directory(such as Music). 2.Open the menu Button in the top left corner and popup the drawerlayout. 3.press the back key. The DrawerLayout don't disapper and the navigation view back to the next higher level. Change-Id: I13c78491e2be767e7611d57c2c513013d96465eb
* CMFileManager: when cancel coping, the dest file also exists and is incomplete.jing.zhao2015-04-211-0/+5
| | | | | | When cancel coping, will delete the dest file. Change-Id: I0acf7cc196dec82ed2156e9706c1364922581cdf
* CMFileManager: After change language, the navigation view item summary ↵jing.zhao2015-04-211-1/+3
| | | | | | | | | | | | | | doesn't change [The System Language is Chinese] 1. open the CMFileManager Application. 2. press home button and goto Settings to change the System Language from Chinese to English (can change the others). 3. open the CMFileManager again, Click "All" , you can see the item's summary doesn't completely change. Open the CMFileManager, After change language, the item also will change. Change-Id: I40969d98718463996c34951effef50fa4e42c4ec (cherry picked from commit 10a073ee66dfe862804b2c2a39f93662bc554599)
* [CMFileManager] Fix the filemanager can copy parent folder to child folderkai.cao2015-04-211-16/+19
| | | | | | | | | | Procedures 1.Go into filemanager and select a directory(such as Music). 2.enter the Music and copy the folder. The filemanager stay in "copying" interface. Change-Id: I9a765d1d89c4736b26d57bdf99237f04a810f254
* Enable ok button, filename is still valid.Martin Brabham2015-04-171-1/+1
| | | | | Change-Id: I38f3be02e60597a169850c2a47127dac5784236c (cherry picked from commit 16b30c40f8164c760d0e40c00e19bcc4dac67ccf)
* Make the new filename max length error message show.Martin Brabham2015-04-172-2/+2
| | | | Change-Id: Ic997110fb78d253c7d3602a5b81157fceb9f73b2
* Automatic translation importMichael Bestas2015-04-1730-23/+151
| | | | Change-Id: I7afd40a46444c017c6dffbc9f8f5a057003c4d26
* CMFileManager: Fix CMFileManager display "sdcard1" and the content is null ↵kai.cao2015-04-171-0/+8
| | | | | | | | | | after adding a new user/guest step: - new user or guest in Settings - Go to CMFileManager and check Change-Id: Id6da696b8173f0544a022bc5e3d64d94b7123526
* CMFileManager: Printing preview content is not show complete.jing.zhao2015-04-171-2/+2
| | | | | | | fix the PageCount from int to double Change-Id: I72f1577f22b563456b43dded4058572d328009c3 (cherry picked from commit ed63368d1d085d4021329d6720ab7a32765b7768)
* Implement a dialog that warns the user that we must expose the content of ↵Martin Brabham2015-04-1714-7/+537
| | | | | | | | | | 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)
* Automatic translation importMichael Bestas2015-04-177-71/+75
| | | | Change-Id: I1bdbe31959ec6bf2c0bb4b56a61127b6e2ab3722
* Support RTL layouts everywhere.Martin Brabham2015-04-1637-346/+325
| | | | | | | | | | | | - 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)
* [CMFileManager] Always display searching progress after back to the search ↵jing.zhao2015-04-151-0/+2
| | | | | | | | | | | | | 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)
* Implement ability to cancel file copy.Martin Brabham2015-04-1311-27/+133
| | | | | | | | | | - 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)
* Fix deadlock when reading shell output.Matt Garnes2015-04-101-18/+5
| | | | | Change-Id: Ia38ac6c415506f21ffde5a4c3e658e810dea92da (cherry picked from commit 2f7e43ce8f37b61c2998aadc56c6323faae80c51)
* Detect text encoding with juniversalchardet.Matt Garnes2015-04-1015-82/+609
| | | | | | | | | | - 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)
* CMFileManager: change dialog buttons to use dialog_text_color themeRaj Yengisetty2015-04-101-2/+1
| | | | | | | | 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)
* Add character limit for name input dialog.Martin Brabham2015-04-033-3/+22
| | | | | Change-Id: I75539bbe90dbc278b360e1246c5218101d77abf7 (cherry picked from commit d34dfc6892760eb14a553bd9774a65aa211f6d7b)
* Fix support for USB OTG.Matt Garnes2015-04-024-16/+25
| | | | | | | | | | | 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)
* CMFileManager: show hamburger icon for the navigation drawerRaj Yengisetty2015-04-011-0/+1
| | | | | | This was broken in 5.1 Change-Id: Ib2ec68a4b9c288855c1b58f7f732bf7ee840c3ec
* Catch RuntimeException when opening 3gp files for inspection.Matt Garnes2015-04-011-8/+18
| | | | | | | | | | | 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)
* CMFileManager: change warning drawables used in dialogs for visibilitystaging/cm-12.1Raj Yengisetty2015-03-315-5/+9
| | | | Change-Id: I5256322a460f8fab268a6f36022aece2bdabd677
* Automatic translation importMichael Bestas2015-03-3143-227/+334
| | | | Change-Id: I761573acfc3cdd1fb7885b1cc173b4dcc113ac87
* CMFileManager: account for displayed dialogs during activity tear downRaj Yengisetty2015-03-302-2/+25
| | | | | | | | | | | 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
* make sure MountPointInfo and DiskUsageInfo runs in the UI Thread.André Rivotti Casimiro2015-03-301-3/+4
| | | | | | | 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)
* Support ambigous file extension mimetypes.Matt Garnes2015-03-267-30/+226
| | | | | | | | | | | | | 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
* CMFileManager: Fixed string typoZyg0te2015-03-241-1/+1
| | | | Change-Id: Ied59603a11be19f10eb11d1ef8b9d3a043f110cc
* CMFileManager: Changed status string to something more descriptiveZyg0te2015-03-241-1/+1
| | | | | | | | 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
* cmfm: reduce banner size and adjust ratio to fit the banner view boundsJorge Ruesga2015-03-241-0/+0
| | | | | Change-Id: I46df6cb1c167fac8d7fe5a7b83f572634cfb44f4 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* cmfm: fix typo in xml drawableJorge Ruesga2015-03-231-1/+1
| | | | | Change-Id: I414a67eb4fbc022b72eaa6c41b173a12a66a11e8 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* cmfm: update changelogJorge Ruesga2015-03-232-41/+7
| | | | | Change-Id: I29dda23c3e30da28288733fb8bb93ba20730ca42 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFileManager: Removed copyright portion of about_summaryZyg0te2015-03-2340-48/+0
| | | | Change-Id: If794766a6b55a3a289bec5c3a96b9c3cea15588c
* CMFileManager: Nitpicking on stringsZyg0te2015-03-231-4/+4
| | | | | | | | | 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
* Automatic translation importMichael Bestas2015-03-2216-3/+513
| | | | Change-Id: Id732c533564852b4c13d31fe0fba1c9c984729c3
* CMFileManager: Fixed positioning of title in editor custom ActionBar layoutZyg0te2015-03-221-1/+1
| | | | | | | | | 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
* CMFileManager: Check if intent action is null when applying user definedZyg0te2015-03-221-2/+3
| | | | | | | | initial directory This prevents the app from crashing when locking secure storage. Change-Id: I9169eabae7ee47ac78479dcfc6f03293d98e1c94
* CMFileManager: set search item icon to fixed width and centerCropRaj Yengisetty2015-03-211-6/+9
| | | | Change-Id: If89a55a8d1212774709176ae9af7df6f761f9005
* CMFileManager: set compute folder statistics to true by defaultRaj Yengisetty2015-03-211-1/+1
| | | | | Change-Id: Iaf22257a9227722029956094ae06ccf0df524541 (cherry picked from commit 19862d7c51143136c25d03b741156a0fda68c768)
* CM File Manager - Gracefully handle renaming on case-insensitive filesystemsRohit Yengisetty2015-03-212-2/+19
| | | | | | | | | | | 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
* cmfm: delete obsolete themes resourcesJorge Ruesga2015-03-19196-2460/+2
| | | | | Change-Id: I3fc24f739b16ab6104a4349f0c8efe0eff790fbd Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* cmfm: force colorControlNormal to whiteJorge Ruesga2015-03-191-0/+2
| | | | | | | This fixed the color of actionbar controls (like search widget) Change-Id: I7a78cc7cd6bee262224b1d881b645aaef504be29 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* cmfm: fix edit home bookmark iconJorge Ruesga2015-03-197-2/+3
| | | | | Change-Id: I0da0a0b01f49d24edab30a72decd240996b5ccfe Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* CMFileManager: Fix back press events of SearchActivityxiao.hu2015-03-191-12/+5
| | | | | | | | | | 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
* CMFileManager: protect code path for access mSdBookmarksRaj Yengisetty2015-03-171-4/+6
| | | | | | | | | | | | | | | | 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
* Automatic translation importMichael Bestas2015-03-1546-130/+548
| | | | Change-Id: I1e77140dc7177e10bc98fcbdfe2110f6dc96a9d6