|
|
|
|
@ -103,7 +103,7 @@ public class HomeActivity extends BaseActivity implements CustomTitleView.Listen |
|
|
|
|
boolean push = ApiConfig.hasPush() && intent.getAction() != null; |
|
|
|
|
if (push && intent.getAction().equals(Intent.ACTION_SEND) && intent.getType().equals("text/plain")) { |
|
|
|
|
DetailActivity.push(this, Uri.parse(intent.getStringExtra(Intent.EXTRA_TEXT))); |
|
|
|
|
} else if (push && intent.getAction().equals(Intent.ACTION_VIEW) && intent.getData().getScheme() != null) { |
|
|
|
|
} else if (push && intent.getAction().equals(Intent.ACTION_VIEW) && intent.getData() != null && intent.getData().getScheme() != null) { |
|
|
|
|
DetailActivity.push(this, intent.getData()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|