fd$1.java 1.44 KB
import android.content.res.Resources.NotFoundException;

final class fd$1
  implements Thread.UncaughtExceptionHandler
{
  fd$1(Thread.UncaughtExceptionHandler paramUncaughtExceptionHandler) {}
  
  public final void uncaughtException(Thread paramThread, Throwable paramThrowable)
  {
    int j = 0;
    int i = j;
    Object localObject;
    if ((paramThrowable instanceof Resources.NotFoundException))
    {
      localObject = paramThrowable.getMessage();
      i = j;
      if (localObject != null) {
        if (!((String)localObject).contains("drawable"))
        {
          i = j;
          if (!((String)localObject).contains("Drawable")) {}
        }
        else
        {
          i = 1;
        }
      }
    }
    if (i != 0)
    {
      localObject = new Resources.NotFoundException(paramThrowable.getMessage() + ". If the resource you are trying to use is a vector resource, you may be referencing it in an unsupported way. See AppCompatDelegate.setCompatVectorFromResourcesEnabled() for more info.");
      ((Throwable)localObject).initCause(paramThrowable.getCause());
      ((Throwable)localObject).setStackTrace(paramThrowable.getStackTrace());
      this.a.uncaughtException(paramThread, (Throwable)localObject);
      return;
    }
    this.a.uncaughtException(paramThread, paramThrowable);
  }
}


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