code: public void setHomeAsUpIndicator(int resId) {
          Drawable indicator = null;
          if (resId != 0) {
              indicator = mDrawerLayout.getResources().getDrawable(resId);
          }
          setHomeAsUpIndicator(indicator);
      }
docs: Set the up indicator to display when the drawer indicator is not
  enabled.
  <p/>
  If you pass 0 to this method, the default drawable from the theme will
  be used.
  
  @param resId Resource ID of a drawable to use for the up indicator, or 0
  to use the theme's default
  @see #setDrawerIndicatorEnabled(boolean)