title: Minimizimg an activity in previous activities in android
body: <p>I'm developing a video call component that supports instant messaging. I want to add the option of minimizing the video call screen on back pressed and return to the messaging <code>activity</code> to do both at the same time (a WhatsApp like a feature). The problem is, I can't find a solution to this since going back to a previous <code>activity</code> will finish the current one. So how can I <code>override</code> my <code>onBackpressed()</code> so that I can minimize instead of finishing the call screen <code>activity</code> (let's say add it to the notification) and return to the messaging <code>activity</code>?</p>