CMFileManager: Add RealVideo and Matroska mime-types

Change-Id: I4886cd713f18b2f9c961237cc9ec84e53bc35f6b
CMFileManager: Updated menu strings to reduce confusion regarding copy & move

Changed menu strings should help users understand that files will be moved
to current folder.

msgs_operation_not_allowed_in_current_directory change should make clear
that it is "move a to a" issue rather than missing root access or insufficient
privileges.

Change-Id: I007bbec91c89f5e0eb4caefc721cfb6facdd0a0f
Fall back to showing all files for unknown mime types.

It's better to let the user select among all files than not presenting
him any files at all.

Patchset 2: simplify the logic
Patchset 3: Revert to patchset 1. Verify mime type regexp name instead of mime type name.

Change-Id: I372f00cccce1c9bb69d5d2668bb33c7882580e08
Add mime type for exported settings of K9.

There should be quite a number of our users who have those files.

Change-Id: I6e7a7c7893349bbf8bb095ae46467f35b2bfc09d
CMFM: Fixes and Improvements
CMFM: Fix filesystem and fso dialog layouts

Change-Id: Ie48a897a1fdae74f34fb7f4ea004b95821ab177e
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Fix name and parent for root directory

Change-Id: I56aed1dff9fda651e30d0eb29e488d3736e42900
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Fix navigation view fade effect

Use OnRelaunchCommandResult listener to finish the fade effect instead of doing in
the async task, to ensure that cancels and failures results will finalize the fade effect.

Change-Id: I872a4f468670dc425d96c9c7dfd5fe05b8d86b89
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Use filesystem type instead of auto on remount

Use the filesystem type obtained from /proc/mounts to remount the filesystem
instead of use the auto type

Change-Id: I791e099a51fec1f9f75ce94a3e879b8a6f594e4e
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Fix NPE when parent dir is null

Change-Id: Ic31130412d332a486df7e0e891f6097e2d1f9276
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Fix sync object

Change-Id: I32db52a17fa1c0a3f31010e16b5cf2a697be7f6d
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Display new fso datetimes props

Add to FsoPropertiesDialog the new fso datetimes properties:
- Last accessed
- Last modified
- Last changed

Remove old fso_properties_dialog_date string from translations.

Change-Id: I881658ae0fbc6c935995ffb4ad7a02172d06bb2c
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Fix AsyncResultProgram deadlock

Change-Id: Idd32ef7902eaf86e573728f7e442c281a47249fc
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Fix FC caused by accessing ui outside of UI thread

Patchset 2: Formatting

Change-Id: I1323b4f92a64dd23afe4aa28d3569ce01d72c039
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Read hidden files with new stat listing method

Change-Id: I421586d8deb4e59b6b2abb80ed7c846479f3bd2d
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Fix race condition

Change-Id: I3ed0d38665b12aa39313c55f7daaa63bd80875a0
Signed-off-by: jruesga <jorge@ruesga.com>
CMFM: Ignore stderr from stat list command

We don't need "No such file or directory" from path/.* or path/* because
is previously checked by ls, and it is only returned when no matches were found,
which indeed it is not an error.
Signed-off-by: jruesga <jorge@ruesga.com>

Change-Id: I4fa0ef947a30e42a4cccd0c95855c4953a34e874
CMFM: Do not use cd and pwd commands

Remove cd and pwd commands and use / as working directory for shell process (this commands
are not used). This prevents that storage volumes from get busy on unmount file systems.
Signed-off-by: jruesga <jorge@ruesga.com>

Change-Id: I772866c00233351f505b61f53d43bac5de02a5e4
CMFM: Fix typo

Change-Id: Ib42a83bde4611ba4bdd661a45b1dda6d25c58cdb
Signed-off-by: jruesga <jorge@ruesga.com>
Add ability to toggle .nomedia file in storage locations

Patchset 1) Initial commit
Patchset 2) Fixed tabs and whitespace
Patchset 3) Moved everything to the properties dialog
Patchset 4) Clean up
Patchset 5) Added check for .nomedia dir
Patchset 6) Tab cleanup
Patchset 7)
    Rebase
    Regorganize FsoPropertiesDialog
    Refresh navigation listview if a .nomedia file was created or deleted
    Use FileHelper.deleteFolder instead of DeleteDirCommand
    Mark/Unmark checkbox when user response no or an error occurs (let checkbox as his initial status)
    Internationalize error messages
    Fix nomedia layout id
    Use match_layout instead of fill_parent (deprecated)
    Ensure that the fso is a canonical path
    Use File.exists() to detect the present of .nomedia
    Theme nomedia label
    Format code and clean Up
    Remove W.I.P
Patchset 8)
    Align .nomedia layout
    Split toggleNoMediaFile logic
    Ask user if .nomedia file is not empty
    Fix typos
Patchset 9) Fix typo

Change-Id: I048d1da75f24230380aa7503f2d2c9ad95f9b873