title: setDisplayHomeAsUpEnabled(true) doesn't show arrow if called from non Activity class
body: <p>In my Activity I want to show arrow to left of ActionBar icon, so in Activity I write:</p>
  
  <pre><code>ActionBar actionBar = getActionBar();
  actionBar.setDisplayHomeAsUpEnabled(true);
  </code></pre>
  
  <p>It works fine, but I decide move <code>ActionBar</code> initialization to another class and use it for all activities in my application, new class for this:</p>
  
  <pre><code>    public class Utils {
      public static void initActionBar(Activity activity, boolean homeIconNeeded) {
          ActionBar actionBar = activity.getActionBar();
          actionBar.setIcon(R.drawable.logo);
          actionBar.setHomeButtonEnabled(homeIconNeeded);
          actionBar.setBackgroundDrawable(activity.getResources().getDrawable(R.drawable.action_bar_background));
      }
  
      public static void initActionBar(ActionBar actionBar, boolean homeIconNeeded) {
          actionBar.setIcon(R.drawable.logo);
          actionBar.setHomeButtonEnabled(true);
          actionBar.setBackgroundDrawable(SmartVmsApplication.getContext().getResources().getDrawable(R.drawable.action_bar_background));
      }
  }
  </code></pre>
  
  <p>Then in my activity I insert in <code>onCreate()</code> callback <code>initActionBar(this, true)</code>, however <strong>arrow doesn’t appear</strong>, no matters I passed <code>Activity</code> or <code>ActionBar</code> as parameter and it is an issue.</p>