hb.java 1.09 KB
import android.content.Context;
import android.content.res.Resources;
import android.content.res.Resources.NotFoundException;
import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;
import android.support.v7.widget.AppCompatDrawableManager;
import java.lang.ref.WeakReference;

public final class hb
  extends gt
{
  private final WeakReference<Context> a;
  
  public hb(@NonNull Context paramContext, @NonNull Resources paramResources)
  {
    super(paramResources);
    this.a = new WeakReference(paramContext);
  }
  
  public final Drawable getDrawable(int paramInt)
    throws Resources.NotFoundException
  {
    Drawable localDrawable = super.getDrawable(paramInt);
    Context localContext = (Context)this.a.get();
    if ((localDrawable != null) && (localContext != null))
    {
      AppCompatDrawableManager.get();
      AppCompatDrawableManager.a(localContext, paramInt, localDrawable);
    }
    return localDrawable;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/hb.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */