return getSupportFragmentManager().findFragmentByTag(FRAGMENT_TAG);
}
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
<BUG>setIntent(intent);
childFragment = instantiateFragment();
Bundle bundle = intent != null ? intent.getExtras() : null;
childFragment.setArguments(bundle);

FragmentTransaction ft = getSupportFragmentManager().beginTransaction();</BUG>
ft.replace(android.R.id.content, childFragment, FRAGMENT_TAG);

return getSupportFragmentManager().findFragmentByTag(FRAGMENT_TAG);
}
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
setIntent(intent);
childFragment = getSupportFragmentManager().findFragmentByTag(FRAGMENT_TAG);
if (childFragment == null && intent!= null && intent.getExtras()!=null) {
childFragment = instantiateFragment();
childFragment.setArguments(intent.getExtras());
}
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
ft.replace(android.R.id.content, childFragment, FRAGMENT_TAG);
