forked from jruesga/CMFileManager
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 6606: CM File Manager will not Remember Selection for "Open Wit…
…h" menu Issue: http://code.google.com/p/cyanogenmod/issues/detail?id=6606 This patch makes the next changes: * Make the internal editor exportable. Now it can be treated as another activity and can be mark as preferred activity, but only for text/* and some text mime/types. For undefined mime/types categories, the internal editor is still used in a non preferred mode (internal editor cannot be marked as preferred) * When the internal editor in a non preferred mode is selected, 'remember' checkbox is hidden. * Improve preferred activity resolution * Allow clear a preferred activity on the open with dialog (when 'remember' checkbox is unchecked) * For better compatibility, the internal editor now ignores the ACTION_EDIT action, so opened files are always editables (with the exception of binary files that they are opened always as read-only) * Improved onIntentSelected with better NPE and internal editor checks Change-Id: Ie42990a6c0ccbdd4bfab6ec23ae27cc808cac7b7
- Loading branch information
Showing
4 changed files
with
329 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.