|
|
@ -54,7 +54,7 @@ class IntentReceiverActivity : Activity() {
|
|
|
|
intent.setClassName(applicationContext, activityClass.java.name)
|
|
|
|
intent.setClassName(applicationContext, activityClass.java.name)
|
|
|
|
true
|
|
|
|
true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
intent.action == Intent.ACTION_VIEW -> {
|
|
|
|
intent.action == Intent.ACTION_VIEW || intent.action == Intent.ACTION_SEND -> {
|
|
|
|
intent.setClassName(applicationContext, HomeActivity::class.java.name)
|
|
|
|
intent.setClassName(applicationContext, HomeActivity::class.java.name)
|
|
|
|
if (!intent.getBooleanExtra(NotificationManager.RECEIVE_TABS_TAG, false)) {
|
|
|
|
if (!intent.getBooleanExtra(NotificationManager.RECEIVE_TABS_TAG, false)) {
|
|
|
|
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
|
|
|
|
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
|
|
|
|