r.java
753 Bytes
import android.content.Context;
import android.content.res.TypedArray;
import android.support.v7.appcompat.R.attr;
public final class r
{
private static final int[] a = { R.attr.colorPrimary };
public static void a(Context paramContext)
{
int i = 0;
paramContext = paramContext.obtainStyledAttributes(a);
if (!paramContext.hasValue(0)) {
i = 1;
}
if (paramContext != null) {
paramContext.recycle();
}
if (i != 0) {
throw new IllegalArgumentException("You need to use a Theme.AppCompat theme (or descendant) with the design library.");
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/r.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/