My app receives a push notification and one of its activity gets launched.
Now,
- Press home
- Relaunch app from home screen(app launched with main activity)
- Press back
e.g.
Activities
A-->B--->C
- Notification launches 'C'
- Press HOME on C
- Relaunch app ('A' gets launched)
- Press back
Now the weirdness appears, pressing back is taking the user to same activity that was launched on notification click, in this case its taking the user to 'C'
I do not want this flow..pressing back key on main activity should exit the app.
any help?
No comments:
Post a Comment