});
}
- // TODO Add support for android.R.id.home in all Setting's onOptionsItemSelected
- // getActionBar().setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP,
- // ActionBar.DISPLAY_HOME_AS_UP);
+ // Override up navigation for multi-pane, since we handle it in the fragment breadcrumbs
+ if (onIsMultiPane()) {
+ getActionBar().setDisplayHomeAsUpEnabled(false);
+ getActionBar().setHomeButtonEnabled(false);
+ }
}
@Override
return true;
}
+ public boolean shouldUpRecreateTask(Intent targetIntent) {
+ return super.shouldUpRecreateTask(new Intent(this, Settings.class));
+ }
+
@Override
public void setListAdapter(ListAdapter adapter) {
if (mHeaders == null) {