I have an activity with launchMode as singleTask. But for some reason, two instances exist when I try to look for logs in "adb shell dumpsys activity activites" . The first instance is launched with
intent={act= flg=0x10000000 cmp=}
and the second one is launched with below intent
intent= { act= flg=0x10200000 cmp= (has extras)}
. What flag is it?
Actually the second intent is launched by a different app. How to prevent that app to launch new instance of my activity.