aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importcm-14.1Abhisek Devkota2017-02-234-6/+3
| | | | Change-Id: Ib5837c566f217bc73eef6f5ccfbbb560c556aff4
* Automatic translation importAbhisek Devkota2017-02-191-0/+1
| | | | Change-Id: Id9833d14397cb3b14c7c7222ed4c751da7c13e6e
* Automatic translation importAbhisek Devkota2017-02-162-2/+2
| | | | Change-Id: I1c0339e3e5108ba123ef0a750305f445a9bfb8e6
* Automatic translation importAbhisek Devkota2017-02-114-0/+817
| | | | Change-Id: I6eab3b7311eb238adc6dc8965efe15ef15f459ee
* Automatic translation importAbhisek Devkota2017-02-091-1/+1
| | | | Change-Id: I5ba354850c98bcbc56780ef68955ddd1c678a750
* Automatic translation importAbhisek Devkota2017-02-072-6/+6
| | | | Change-Id: I54268518b2da90d0f40ae33982f0258a8e35b58c
* Automatic translation importAbhisek Devkota2017-02-047-21/+24
| | | | Change-Id: I4c0e13ce22c6b6c5b20efafe82995d39a21adc45
* Automatic translation importAbhisek Devkota2017-01-315-7/+10
| | | | Change-Id: I630ff89f0acb714b8eb3cc1521f2f7fe64676b9f
* Automatic translation importAbhisek Devkota2017-01-2567-225/+340
| | | | Change-Id: I205159c5197e5e383e2f107c16f7e5e654008579
* CMFileManager: rebrand to LineageOSSimon Shields2016-12-2964-239/+300
| | | | Change-Id: Ie12dbd20001152f40bff805474b9594955388ebd
* Automatic translation importpinky@build012016-12-242-25/+26
| | | | | Change-Id: If9edfa2a7df39165d7401327f9a5a274c265ddd5 Ticket: -
* cmfm: Target SDK version 23Arne Coucheron2016-12-221-0/+2
| | | | Change-Id: I8dff5d158da934eab7be9016b22caa5bb7dce97b
* Revert "cmfm: Use FileProvider for serving files"Arne Coucheron2016-12-226-43/+15
| | | | | | | | | | Incomplete so things are still very much broken. We'll force SDK to version 23 instead for now, so at least we have a fully working file manager. This reverts commit 578f0a0ed7870b5a8ed28c7c0198a798b389a682. Change-Id: I612507d75d3e45ba091d43ac2c5bf1f9dbe53fb5
* Automatic translation importclyde@build012016-12-212-24/+29
| | | | | Change-Id: I2d9839dde6c7c6463b3e685a58b4e8b6239ba056 Ticket: -
* Automatic translation importpinky@build012016-12-171-0/+3
| | | | | Change-Id: Ic825cac620097e66f5ea7ae37553153cc76f56a8 Ticket: -
* Automatic translation importpinky@build012016-12-102-1/+2
| | | | | Change-Id: I5b77797da3cb4d1d2f92448dd7d997bed5b7e531 Ticket: -
* Automatic translation importinky@build012016-12-08116-559/+2359
| | | | Change-Id: I882cd502c5e5b19f2868a5cd65a0a002befd2833
* Properly upgrade DB.Danny Baumann2016-11-031-11/+14
| | | | | | | Commit Ie59a4848de118841d2f3c5ec4805f2add0a1d701 introduced a new table, but missed the DB upgrade. Change-Id: I1387bfa64deec4ede702c674d1e152d5f65ba971
* CMFileManager: Save history records when quittingyazhan2016-10-294-13/+341
| | | | | | | | | Upon quitting the app, the history records will be lost as they are not saved. Save the history records so that the user can access them even after quitting the app. Change-Id: Ie59a4848de118841d2f3c5ec4805f2add0a1d701 CRs-Fixed: 993150
* CMFileManager: Remove top & bottom padding in FS info dialogZhao Wei Liew2016-10-281-2/+0
| | | | | | | | | | | | There are visible borders to the scrollview, so the user expects the content to scroll all the way to the borders. Having the top & bottom padding makes the actual vertical scroll distance shorter than what the user expects it to be. Hence, remove the excessive padding. Change-Id: Ibd6609d8d7fefe1cac101e641264779055fe2ba9
* CMFileManager: Modify disk usage graph's layoutjinwu2016-10-282-110/+120
| | | | | | | | Change the view's layout to a ScrollView, so when roating the DUT from landscape to portrait, every single piece of info is shown. Change-Id: Iedbef14dad5325056cbb560e98855593b5494c16 CRs-Fixed: 889743
* Revert "CMFM: Fix landscape/rotation issues in file system info dialog"Zhao Wei Liew2016-10-263-321/+268
| | | | | | | | | | | | | The original commit is incomplete, and either causes 2 overlapping disk usage graphs to be drawn upon device rotation, or causes the disk usage graph to be improperly sized upon device rotation.. Revert the commit to bring in CAF's fixes for the original issue, which does not exhibit the issue mentioned above. This reverts commit c25f3b995f410883856929972096c8e375cd5377. Change-Id: Ie699b17e07d4ea2b04b03181fe13c6d93ef5da62
* CMFileManager: Show loading dialog while loading filesFujia Mi2016-10-262-23/+9
| | | | | | | | | | | | The loading file task costs much time if the folder contains a lot of files. This causes the illusion of a freeze if the user presses the back key during this time. Show a progress dialog while loading and do not allow the user to press the back key. CRs-Fixed: 949902 Change-Id: I527d70a55425d20bc50621533fba775bf5d0ead5
* Show message to user when toggling word wrap modeemancebo2016-10-262-1/+10
| | | | | | | | For very large files, toggling word wrap mode takes a long time on the UI thread. Show a message to the user so they know what is happening. Change-Id: Idd3aed525233b944234b6f8864a9d3c02adc00b5 Issue-Id: QRDL-1080
* CMFileManager: Do not create multiple action dialogsyongga2016-10-262-4/+18
| | | | | | | | | | Multiple instances of ActionsDialog are created if the user clicks the menu too quickly. Do not create an instance if a dialog has already been displayed. CRs-Fixed: 960229, 970649 Change-Id: I610331cf71cb1b59aef6f89d8fdcb1c6ccda6044
* CMFileManager: Refresh the disk usage graph when layout size changeFujia Mi2016-10-261-0/+10
| | | | | | | | | | | | The size of disk usage graph was caculated dynamically according to the parent layout size. When the device was rotated from landscape to portrait, the layout size was changed, but the disk usage graph did not refresh. Redraw the graph when the view size changes. Change-Id: I2e283ed77f44b759f4f3753ff92fe95d851b6433 CRs-Fixed: 889743
* CMFileManager: Remove shortcut option for secure foldersAnkit Gupta2016-10-261-0/+4
| | | | | Change-Id: I31f568c04dae870d0108e915dd05071461b3196d Issue-Id: FEIJ-1360
* Fix rename of files ending with . on sdcardemancebo2016-10-261-7/+33
| | | | | | | | | | | If sdcard is formatted as VFAT, then file names named as "foo." will be silently saved as "foo". This causes us to report the wrong target file to media scanner, which can cause an extra file to be shown in MTP mode on Windows. The workaround is to rescan the parent dir to discover the correct filename to report to media scanner. Change-Id: Ia58a341ef6190efe3dca8b13bbc081b6e2d4e9c1 Issue-Id: QRDL-983
* FileManager: Editor: Fix race on completion wait/notifycm-14.0Diogo Ferreira2016-10-041-1/+5
| | | | | | | | | | | | | | | The async reader is racing with the completion handler and when reading a small enough file the notification may happen before the handler ever waits. This patch adds a condition flag under the mSync lock and only ever waits if the completion wasn't done already. This also fixes a potential spurious wakeup issue with the previous code where the wait thread could be woken by a spurious wakeup without the read being completed. Change-Id: Ie3e6ead942c0f00dbb3e44591be19634706ee206
* cmfm: Use FileProvider for serving filesSteve Kondik2016-09-066-15/+43
| | | | | | | | | | | | * On N, apps can no longer share file:// uris to other packages. Apps that wish to do this must use a FileProvider to generate content uris which can then be shared. * This patch only currently handles the external storage case and does not consider arbitrary filesystem paths or root access. This could be implemented in the future, if necessary. The common case of opening a media file is a good start, though. Change-Id: I83aef923dfa26173171a13c0881aeb43337b4e47
* Fix mountpoint parsingSteve Kondik2016-09-061-3/+12
| | | | | | | | | * Not all systems follow the assumed format. New kernels do not include the "on" and "type" literals, and do not place parenthesis around the mount options. * Detect these conditions and do the right thing. Change-Id: Ib88edf049e6a42cdab26274202f09de2bc19b493
* CMFM: Recognise .opus file extensionZhao Wei Liew2016-08-121-0/+1
| | | | | | | *.opus files are getting more popular nowadays. Recognise them as part of the audio/opus MIME type. Change-Id: Icfcce9ae15a50a74f2268120327ee22921c47eac
* Automatic translation importblinky@build012016-08-071-2/+2
| | | | | Change-Id: I4b7381ad23855b7e457fa3a70939d362104ab53e Ticket: -
* Add ape file mimetypeKeith Mok2016-08-051-0/+1
| | | | | | HAM-1377 Change-Id: I8d0f4905a147c75ad9f8bc45a2ec7efedd3f00ac
* Automatic translation importinky@build012016-07-261-1/+1
| | | | | Change-Id: Idd833f7c590f01bf8cffd7c3886570ac3bfed0c1 Ticket: -
* Automatic translation importpinky@build012016-07-211-1/+1
| | | | | Change-Id: Ie366dd1525d60a447fbfbe40b3b3cd222a8c136c Ticket: -
* Automatic translation importblinky@build012016-07-191-1/+1
| | | | | Change-Id: I3426c86087450feae50d47ed7bafa5cf4fa8eba5 Ticket: -
* Automatic translation importinky@build012016-07-152-3/+5
| | | | | Change-Id: I662728fcce58a8072d6b758998934cdc4cef2ed9 Ticket: -
* Automatic translation importclyde@build012016-07-112-3/+3
| | | | | Change-Id: Ida2016632f73c3b7bc521ff074676c1b13327658 Ticket: -
* CMFM: Little cleanupMichael W2016-07-011-6/+2
| | | | | | | mimeType can't be null here so just remove those checks and make the code more readable Change-Id: Ic1f6fde2c102912dd8fc7e783d86c2936c43316f
* Automatic translation importinky@build012016-06-291-1/+1
| | | | Change-Id: Ie23d9d06582ef26b0af2b20f9236d88521b1f0ac
* FileManager : Update to use toybox lsDanesh M2016-06-271-1/+1
| | | | | | | | | Toolbox ls does not include inode column, which causes parser to fail and not show directory size in properties dialog. CYNGNOS-3081 Change-Id: I8b0779404795be63de56bc1bc4a7dc46468fcb77
* Fix crash when long press directoryScott Mertz2016-06-271-4/+5
| | | | | | | | | When long pressing a directory, the actions dialog will build an FSO send intent to query if it can be handled by any application. In this case, the list of URIs to share will be 0, causing the crash. FEIJ-1439 Change-Id: I3f500916774af4bde939bd42060d92070971663a
* Fix no icon for 3GP filesKeith Mok2016-06-231-2/+2
| | | | | | | | | | | | | | Commit 6f6094da21960569b93f6171e39e211e8d37f41a does not do what it said. It said " We are now defaulting to treating 3GP files as video files for determining the default icon as it was parsing the video files for their metadata which was causing ANR problems." However it returns no icon for 3GP. Fix it to do what it said in that commit. FEIJ-202 FEIJ-1347 Change-Id: Ieb57583316594c0308792ff8b43aadf1b15d74a5
* Assign application/octet-stream to unknown file extensionsScott Mertz2016-06-231-2/+2
| | | | | FEIJ-1380 Change-Id: I93eea906f35dc5403349409b1c26e6a4fc386d5a
* Remove send/send multiple if intent doesn't resolve to any activityScott Mertz2016-06-232-49/+68
| | | | | | | | | | Instead of falling back to the editor activity as a last resort for "Send", remove the option if there's no potential candidate. The editor activity won't handle the ACTION_SEND/ACTION_SEND_MULTIPLE intent anyway. This stops an error from popping up in the editor if the file cannot be sent from any other activity. FEIJ-1380 Change-Id: I2330299e0cb8b6f3c93d5a190067b8bfe6a3f56f
* Navigate to path when launched from folder shortcutScott Mertz2016-06-221-0/+2
| | | | | | | | The logic was backward here. Instead, prompt the user if no permissions and start navigating if already granted. FEIJ-1389 Change-Id: Idee7024516eed5671bc7a1101fc812680db3447b
* Fix Rename on VFatherriojr2016-06-205-25/+37
| | | | | | | | | Changed how the java console handles detecting if a file rename collides with another file to more represent how the particular filesystem implementation handles it (I'm looking at you vfat). Change-Id: I6ac9ae848ee47fa33f02225c310c92f2a03fb50d (cherry picked from commit bd4178a860ab7da89549036c6a4815239b903b61)
* ListPopupWindow: set height of the listStephen Bird2016-06-201-0/+15
| | | | | | | | | | | | | | We need to make sure that the list is the proper height so that it does not draw off the screen. Ideally, we would stop handling the orientation changes and allow the app to do the orientation changes as android apps do normally. This would require some significant changes to how our dialog system works and could cause other potential issues. Ticket: QRDL-882 Change-Id: I39176d56d8286ed93b71dbe4c770fe79f39ac753 (cherry picked from commit d86bee2ab7b08ea2eaec91b251b0d94548de0af0)
* Search: Hide progress spinner if search failsStephen Bird2016-06-201-0/+2
| | | | | Change-Id: I883bd3587e91cfc6ee73eec45ea9840d781719bb (cherry picked from commit 76e0032448aa0ff667ea2c700cfed26941c413fd)