mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/4198 - Include Intent.ACTION_SEND to open to browser
This commit is contained in:
parent
52c077669f
commit
1c2b197cb0
@ -54,7 +54,7 @@ class IntentReceiverActivity : Activity() {
|
||||
intent.setClassName(applicationContext, activityClass.java.name)
|
||||
true
|
||||
}
|
||||
intent.action == Intent.ACTION_VIEW -> {
|
||||
intent.action == Intent.ACTION_VIEW || intent.action == Intent.ACTION_SEND -> {
|
||||
intent.setClassName(applicationContext, HomeActivity::class.java.name)
|
||||
if (!intent.getBooleanExtra(NotificationManager.RECEIVE_TABS_TAG, false)) {
|
||||
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
|
||||
|
Loading…
Reference in New Issue
Block a user