title: setDisplayHomeAsUpEnabled(false) is not working in fragment
body: <p>I want to hide HomeAsUp in home fragment, i have used this <strong>((MainActivity)getActivity()).hideHome();</strong> but it's not working. I don't want to use SherlockFragmentActivity.</p>
  
  <p>Is this possible to hide HomeAsUp icon without SherlockActivity? If possible then how to use it.</p>
  
  <p>When i inflate the Home fragment the code as like below</p>
  
  <pre><code>    switch (item.getItemId()) {
                  case R.id.homemenu:
                      // mDrawer.openDrawer(GravityCompat.START);
      //                getSupportActionBar().setDisplayHomeAsUpEnabled(false); // show back button
                      fragmentClass = Home.class;
                      try {
                          fragment = (Fragment) fragmentClass.newInstance();
                      } catch (InstantiationException e) {
                          e.printStackTrace();
                      } catch (IllegalAccessException e) {
                          e.printStackTrace();
                      }
  
  
                      // Insert the fragment by replacing any existing fragment
                      FragmentManager fragmentManager = getSupportFragmentManager();
                      fragmentManager.beginTransaction().setCustomAnimations(R.anim.enter_anim, R.anim.exit_anim, R.anim.pop_enter, R.anim.pop_exit).replace(R.id.activity_main_content_fragment, fragment).commit();
                      return true;
  }
  </code></pre>