aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Search: Hide progress spinner if search failsStephen Bird2016-06-201-0/+2
| | | | | Change-Id: I883bd3587e91cfc6ee73eec45ea9840d781719bb (cherry picked from commit 76e0032448aa0ff667ea2c700cfed26941c413fd)
* Automatic translation importinky@build012016-06-171-1/+1
| | | | Change-Id: I6c7ba075b084892a30676d60b87c147ec1cc78c6
* Fix sort mode popup after rotation from portrait to landscapeScott Mertz2016-06-171-5/+11
| | | | | | | | | ListPopupWindow doesn't appear to correctly recalculate its popup size after rotation. Force the recalculation on rotation and allow the window to fill the entire screen if necessary. FEIJ-1192 Change-Id: I6345a56c4dde3dd73c3d902afd0a840307014178
* Filter out vnd.android.cursor mimetype for PickerKeith Mok2016-06-132-1/+13
| | | | | | | | | | | | We don't support vnd.android.cursor mimetype, the return result is never be expected to caller. Ideally, we should filter that mimetype in AndroidManifest.xml, however we currently accept */* mimetype and there is no way to exclude a specific mimetype. FEIJ-1138 FEIJ-1140 FEIJ-1141 Change-Id: I407159c5f5283e4d5cec2ec129a7643723bc8602
* Invalidate preferences headers when resumingd34d2016-06-091-0/+7
| | | | | | | | | | | | If the use is in a sub settings, i.e. general settings, and changes their language. Upon returning to File Manager and pressing back to go to the main settings menu, the about text will remain in the previous language. This is easily reproduced when the intial language is set to Chinese and then switched to English. The about text will still be in Chinese. Change-Id: I1dff61a6a94e6aabf336d863e102c29044f3a649 (cherry picked from commit b35b682bd4d4a089d55fcf43a0711a9b9ca7c615)
* Check if view is inited when screen rotatedKeith Mok2016-06-081-1/+3
| | | | | | | | | | | | | | In M, we need to request permission the first time application is use it. And we put that before the creation of the content view. If screen rotated before user confirm the permission dialog box, it will cause onConfigurationChanged to be called, and refreshs the view which is not created yet. Add a null pointer checking to avoid that. FEIJ-1083 Change-Id: Ic3c762e62edef28d4c5d7a7a89fabec3f4324eca
* CMFM: Make sure no NPE happensMichael W2016-06-051-0/+4
| | | | | | Fix for the case when getExternalFilesDir returns null Change-Id: I62725cec0f65412f3cc9c66c0e9870d2da62c6b8
* Flush the shell console after each commandIgor Kalkov2016-06-011-0/+2
| | | | | | | | | | | This patch fixes the file manager on android-n-preview-2 (and maybe other roms/systems). Observed behavior: no output is produced at StdIn or StdErr after writing commands to the shell console. This leads to a timeout and a reallocation of the console in an endless loop. Flushing the output stream fixes the problem. Not sure if there was a good reason for not doing it in general. Change-Id: Ia87aa5065f6c62f133de4bbde4b4a32a4388d784
* Automatic translation importinky@build012016-06-012-0/+18
| | | | Change-Id: I2e50638e758fca25e32fad9d3e9c586bdfe8e25b
* Fix crash when rotate to landscape without grant permissionKeith Mok2016-05-271-1/+4
| | | | | | | | | NavigationView is null before permission is granted. Guard with a null checking before refreshing FEIJ-820 Change-Id: Ib778ec82ce49dbcad8e45a5d54a5501cd3030410
* Remove set as home menu item for secure storageKeith Mok2016-05-261-0/+4
| | | | | | | | | It just don't support it currently as it requires the UI to ask for password first. FEIJ-825 Change-Id: I7ef4199d99110652b3f13fe9fed8336bf07f59f4
* PickerActivity: Grant read url permissionKeith Mok2016-05-261-0/+1
| | | | | | | | | Without granting url read permission, the caller using the picker will encounter a security denied. FEIJ-809 Change-Id: I0ad564f7c16a36b4395f0d1d19d7eed10d0917c4
* FileManager : Index all storage volumesDanesh M2016-05-202-3/+10
| | | | | | | | | | Fix disk usage for no categories If no categories are found, ensure we fallback to drawUsed so the graph represents the information correctly. FEIJ-650 Change-Id: Ifdc069b1266c96dc1dc2569a2c0d45146f96b73d
* Remove "Properties" from action menu for secure directoryArtem Shvadskiy2016-05-181-1/+20
| | | | | | | | | Ideally we would allow the properties action to appear and ask the user to unlock the directory first, but that seems to be nigh impossible without refactoring SecureConsole. Change-Id: If619062d3c3db1855ac865811cf6b48e5ae5812f issue-id: FEIJ-692
* Automatic translation importAbhisek Devkota2016-05-151-0/+2
| | | | Change-Id: I456ef4aff6025c983f016bb0950814f9620a8662
* Filter display of non-relevant results in search resultsKamaljeet Maini2016-05-111-5/+8
| | | | | | | | | | | When user switches between different category types in the search results, any non-relevant entries should be filtered out. Added check for filtering out non-relevant search results. Issue-Id: FEIJ-517 Change-Id: I7f92819b362720d58860e41d7252cd43cbece808
* Automatic translation importMichael Bestas2016-05-101-0/+6
| | | | Change-Id: I687a7f589c520b6caa36cc8e141453f9a091a89a
* Refresh icons view when switching between portrait and landscapeKamaljeet Maini2016-05-092-0/+13
| | | | | | | | | | | | When switching between portrait and landscape modes, the icons view needs to be updated to re-arrange the icons based on updated width. Added a new method for refreshing icons view mode. This method is called during orientation changes. Issue-Id: FEIJ-492 Change-Id: I9c95357a7d4f57b223147e774838e4fdc19f5e89
* CMFM: Fix landscape/rotation issues in file system info dialogcretin452016-05-053-268/+321
| | | | | | Issue-id: FEIJ-356 Change-Id: I918f62e42ecca8c7c51ff8edefdfcd3f78245b45
* CMFileManager: Fix problem when "Use swipe gestures" onKeith Mok2016-05-051-1/+1
| | | | | | | | | | | | | | When "Use swipe gestures" is on, click on listview item has no effects. Since ev.getX() or ev.getY() is returning floating point, while the previous touch location is stored as fixed point. When there is fractional parts in getX(), it will always return false when it compares to the previous touch point, making the flinger logic to think the touch does moved while it is actually not. FEIJ-290 Change-Id: Ib208b6115c0758facf29461ef45f6ffd5c67adce
* CMFM: Adjust mimetype query to account for appended user directorycretin452016-05-051-2/+3
| | | | | | Issue-id: FEIJ-331 Change-Id: I7982dfc3c453518c2358b2118a13455e899023db
* CMFM: Fix stylescretin452016-05-041-3/+0
| | | | | | Issue-id: FEIJ-372 Change-Id: I723970725579004433d1ba8cadec55b49795987a
* CMFM: Fix permission stylescretin452016-05-032-4/+6
| | | | | | Issue-id: FEIJ-372 Change-Id: Ibe58efe5b6cccad5dbaeb59031da9aa6afad7d1b
* CMFileManager: Don't add bad search results to the listcretin452016-05-031-1/+3
| | | | | | Issue-id: FEIJ-341 Change-Id: I6a418aa099569484fd6f95f2b8d0987b59eba2a9
* Automatic translation importMichael Bestas2016-04-166-2/+814
| | | | Change-Id: Ia2dd94808f8ad9b7c3d60b48aeb23cda18219fc4
* Automatic translation importMichael Bestas2016-04-065-118/+521
| | | | Change-Id: I3b3fe97888a8bb87a981e97c1fefba668e58d545
* Default file manager fails to search files with Russian file namejaffersulaiman2016-03-305-24/+6
| | | | | | | | Changed Find command argument name to iname in command_list xml. square brackets and upper case format removed from searchHelper class Bug: CYNGNOS-2273 Change-Id: I40fe203929656055e209f10f6284c0b39634a6fb
* Automatic translation importMichael Bestas2016-03-288-444/+54
| | | | Change-Id: I25b69ebab006e483a9edb9163d9cc9f21c1ce8ad
* Automatic translation importMichael Bestas2016-03-1931-64/+3777
| | | | Change-Id: I31711d285772d3c4c3294e89e6fc267bc861cc66
* Automatic translation importMichael Bestas2016-03-05186-112/+35541
| | | | Change-Id: I62022a41be3be53a6c95f5cbff47a60c2592be16
* PickerActivity: Request for permissionsDiogo Ferreira2016-03-021-2/+47
| | | | | | | | | If called through the DocumentsUI, FileManager would crash in scenarios where the permission had not yet been granted. Fix this by requesting for permissions when picked. Change-Id: I876421e834d3a4f112282216b22f06360362e8d8 Ticket: CYNGNOS-1974
* Automatic translation importMichael Bestas2016-02-227-179/+176
| | | | Change-Id: Ie2f11ec7884d84bbba9a92119af91c643a17c9d2
* CMFilemanager: fix build without jackMarkus Menzel2016-02-201-0/+8
| | | | Change-Id: Ice246a1c1a1cf5d4dcc519317bd6354fdb3d8c63
* CMFileManager: Don't show access mode pref on unrooted devicescretin452016-02-171-1/+2
| | | | | | Issue-id: CYNGNOS-2072 Change-Id: I582e21dea5afbdf4a7676de8acd6cba23b5288bf
* Automatic translation importMichael Bestas2016-02-1415-80/+103
| | | | Change-Id: I24ceaf0d9f32e2a842a7bf7a66089b0fbaadd1e2
* Wrap NPEMartin Brabham2016-02-111-4/+6
| | | | | Change-Id: I5b11c297e30b7914d856a22a4c631319d6879788 Ticket-Id: CYNGNOS-1830
* fm: Don't crash on rotations when asking for permissionsDiogo Ferreira2016-02-041-3/+5
| | | | | | | | | | When asking for permissions, rotating the device would cause the app to crash because configuration changes try to update a not yet initialized layout. Fix this by preventing layout updates on configuration changes if permissions are not yet granted. Change-Id: I0cdb23df1c07720f70543e7acac5e7b055aa534c Ticket: CYNGNOS-1678
* Automatic translation importMichael Bestas2016-02-0257-9/+1193
| | | | Change-Id: I88fcc4a94738b21e444f2a21e151f967c4d946af
* Cleanup permission strings againMichael Bestas2016-01-292-3/+2
| | | | Change-Id: Id92313bde0b7084342db06c1e5c11ed6aa17fde6
* Refine CMFM permissions.Martin Brabham2016-01-263-14/+77
| | | | Change-Id: Iee25427e2b0dbebc7e54558f6a0d98fab74ad16c
* Automatic translation importMichael Bestas2016-01-2511-10/+20
| | | | Change-Id: Id72995e4b55b46e4d7118ae90f68ba391accbe6a
* Adding NULL checks AsyncResultProgram.javaAbhishek Gilra2016-01-251-6/+12
| | | | | | | Discovered NULL object dereference during the monkey test. Resolving possible NULL dereferences. Issue-Id: YAM-61 Change-Id: I2b03338557d0f5590678cb1c0532c5cc6f586049
* Improve permission string & cleanup codeMichael Bestas2016-01-242-4/+5
| | | | Change-Id: Id0e4be70019fd03c165d4f95f1b5f6323e2802ea
* Bump target SDK version to 23Martin Brabham2016-01-133-18/+78
| | | | | | Implement new runtime permissions for STORAGE group Change-Id: Ia32e5e279f8f4cc9f5cae33cc61cbd73ea2cf41b
* Automatic translation importMichael Bestas2016-01-1115-52/+1641
| | | | Change-Id: I9a3ba488a61525b5ebf006c73a22ef404f091506
* dead lock caselongyu.huang2016-01-031-0/+6
| | | | | | | | | | | [Procedures] 1.filemanager->security storage->create storage with password 2.after creat successfully->menu->add shortcut 3.filemanager->setting->storage option->delete/reset password->stay on input password view(don't input password) 3.press home key 4.enter filemanager from shortcut on home screen Change-Id: I00101d14adb89b271a974e8b292f81b7f315f942
* Change ts file extension mime typeKeith Mok2016-01-021-1/+1
| | | | | | | | | Fix .ts file cannot be played back in filemanager: "There is no app registered to handle the type of file selected." Since the supported mime type named in Gallery is mp2ts instead of mp2t. Change-Id: I92b31bbcc7aabda83e1b25e6a5b94f4008f6e279
* Automatic translation importMichael Bestas2015-12-2510-497/+244
| | | | Change-Id: I508af07960dfec060d46a5cc6bab44a98cf2d3d5
* cmfm: this is TOYBOXGianmarco Reverberi2015-12-173-65/+68
| | | | | | | | * busybox is deprecated * remove awk usage * fix file system info Change-Id: I7c2bcbd5024e3be283c9fd6ad699183b6fb5bf1a
* Fix filemanager not launchKeith Mok2015-12-171-1/+1
| | | | | | | | | | | M is using toybox instead of toolbox, some commands in filemanager relies on toolbox utilities, there are minor difference in handling. This change removes the "-Gn" argument pass to id command for retrival the uid/gid, tested on both M and L, there is no need to add -Gn argument, but in L, it seems -Gn is ignored. In M it will output wihtout the numerical values causing parsing exception during startup. Change-Id: I6aac8e94a80671df0a247ffcaf7d69364d7c9ad2