assets/src/org/ruboto/EntryPointActivity.java in ruboto-1.1.0 vs assets/src/org/ruboto/EntryPointActivity.java in ruboto-1.1.1
- old
+ new
@@ -33,10 +33,10 @@
}
// The Intent to to call when done. Defaults to calling this Activity again.
// Override to change.
protected Intent futureIntent() {
- if (!getIntent().getAction().equals(Intent.ACTION_VIEW)) {
+ if (getIntent().getAction() == null || !getIntent().getAction().equals(Intent.ACTION_VIEW)) {
return new Intent(getIntent()).setAction(Intent.ACTION_VIEW);
} else {
return getIntent();
}
}