granularity level: instruction

		.class public final Landroidx/core/content/res/ConfigurationHelper;
.super Ljava/lang/Object;
.source "ConfigurationHelper.java"




.method private constructor <init>()V
	.locals 0

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public static getDensityDpi(Landroid/content/res/Resources;)I
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x11
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
	move-result-object p0
	iget p0, p0, Landroid/content/res/Configuration;->densityDpi:I
	return p0
	:cond_0
	invoke-virtual {p0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
	move-result-object p0
	iget p0, p0, Landroid/util/DisplayMetrics;->densityDpi:I
	return p0
.end method