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
/*** | |
* Android L (lollipop, API 21) introduced a new problem when trying to invoke implicit intent, | |
* "java.lang.IllegalArgumentException: Service Intent must be explicit" | |
* | |
* If you are using an implicit intent, and know only 1 target would answer this intent, | |
* This method will help you turn the implicit intent into the explicit form. | |
* | |
* Inspired from SO answer: http://stackoverflow.com/a/26318757/1446466 | |
* @param context | |
* @param implicitIntent - The original implicit intent |
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
(setq el-get-sources | |
'( | |
(:name ruby-mode-trunk-head | |
:type http | |
:description "Major mode for editing Ruby files. (trunk-head)" | |
:url "http://bugs.ruby-lang.org/projects/ruby-trunk/repository/raw/misc/ruby-mode.el") | |
(:name php-mode-github | |
:type github | |
:website "https://github.com/ejmr/php-mode" | |
:description "Major mode for editing PHP files. (on Github based on SourceForge version))" |