Merge pull request #297 from nivalis/master
Crash on Settings > Add new feed
This commit is contained in:
commit
c52bd007f6
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue