Intent flags to Login page redirect, killing previous Activities
- by Christopher Francisco
Basically I have a Service that at some points it will sync with the network in order to check if the token is still valid. if it isn't, it should redirect to the login screen (from the service) and if the user press the back button, it should NOT show the previous Activity but instead exit the app.
I'm not asking how to hack onBackPressed, I…