I have a video call activity and I am using pip mode for it. In pip mode, I try to open related chat activity using remote action. But when a startActivity is called from pip activity, the new activity is being opened in the pip screen too. But I do want to open the chat in our app, not in pip screen. Is it possible to start our own activity outside of the pip screen?
Adding taskAffinity solves my problem. You can see detail here: https://developer.android.com/guide/topics/manifest/activity-element#aff