Reuse current app instance when clicking on Notification
<p>Right now I'm using a <code>PendingIntent</code> to launch my desired <code>Activity</code> from the <code>Notification</code>. But I want to know if it's possible to reuse the current app instance. </p>

<p>For example:</p>

<ul>
<li>Launch app, the Launcher Activity is called <code>HomeActivity</code></li>
<li>Navigate to <code>SecondActivity</code></li>
<li>Press the home button</li>
<li>Click on the notification from the app and resume <code>SecondActivity</code></li>
</ul>

<p>But if the user didn't navigate to the <code>SecondActivity</code> i want to open the <code>HomeActivity</code> when I click on the Notification. I would be glad for any help regarding this problem :)</p>