Merge pull request #297 from nivalis/master

Crash on Settings > Add new feed
This commit is contained in:
David-Development 2014-12-18 11:12:44 +01:00
commit c52bd007f6

View file

@ -98,7 +98,7 @@ public class NewFeedActivity extends ActionBarActivity {
Intent intent = getIntent();
String action = intent.getAction();
if (action.compareTo(Intent.ACTION_VIEW) == 0) {
if (action != null && action.compareTo(Intent.ACTION_VIEW) == 0) {
//String scheme = intent.getScheme();
//ContentResolver resolver = getContentResolver();