I have an Activity, that launches from browser by this intent-flter:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="myapp" />
<data android:host="someaction"/>
<data android:path="/" />
</intent-filter>
But if i have other activities of my app not destroyed, they will appear behind launched activity. I need somehow use CLEAR_TOP flag but with intent filter. Activity's launchMode was set to singleTop
and i can't use singleInstance or singleTask. So how can launch only my desirable activity and not the others?