I have two activities
MainActivity
DeepLinkActivity
I set up everything to use the NavUtils
for navi
It doesn't work for me too. So I handle up this way:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
if (item.getItemId() == android.R.id.home) {
Intent intent = new Intent(this, MainActivity.class);
startActivity(intent);
finish();
return true;
}
return super.onOptionsItemSelected(item);
}
My MainActivity is marked as singleTask in android manifest
android:launchMode="singleTask"