In my application I notify the user with notifications, if something special happens:
public void triggerNotification(String msg) { notificationManag
I've discovered that if you use Intent contentIntent = new Intent(this, ABC.class); this calls onCreate(); regardless of the flags set. Use Intent contentIntent = getIntent(); to skip onCreate(); and that moves to onStart();
Intent contentIntent = new Intent(this, ABC.class);
onCreate();
Intent contentIntent = getIntent();
onStart();