Crash on Settings > Add new feed
No action is specified in this scenario
This commit is contained in:
parent
3b3f892419
commit
f45e7ed4dc
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