granularity level: instruction

		.class public final Landroidx/core/view/inputmethod/EditorInfoCompat;
.super Ljava/lang/Object;
.source "EditorInfoCompat.java"


.field private static final CONTENT_MIME_TYPES_INTEROP_KEY:Ljava/lang/String; = "android.support.v13.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
.field private static final CONTENT_MIME_TYPES_KEY:Ljava/lang/String; = "androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
.field private static final EMPTY_STRING_ARRAY:[Ljava/lang/String;
.field public static final IME_FLAG_FORCE_ASCII:I = -0x80000000
.field public static final IME_FLAG_NO_PERSONALIZED_LEARNING:I = 0x1000000


.method static constructor <clinit>()V
	.locals 1

	const/4 v0, 0x0
	new-array v0, v0, [Ljava/lang/String;
	sput-object v0, Landroidx/core/view/inputmethod/EditorInfoCompat;->EMPTY_STRING_ARRAY:[Ljava/lang/String;
	return-void
.end method

.method public constructor <init>()V
	.locals 0
	.annotation runtime Ljava/lang/Deprecated;
	.end annotation

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

.method public static getContentMimeTypes(Landroid/view/inputmethod/EditorInfo;)[Ljava/lang/String;
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x19
	if-lt v0, v1, :cond_1
	iget-object p0, p0, Landroid/view/inputmethod/EditorInfo;->contentMimeTypes:[Ljava/lang/String;
	if-eqz p0, :cond_0
	goto :goto_0
	:cond_0
	sget-object p0, Landroidx/core/view/inputmethod/EditorInfoCompat;->EMPTY_STRING_ARRAY:[Ljava/lang/String;
	:goto_0
	return-object p0
	:cond_1
	iget-object v0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	if-nez v0, :cond_2
	sget-object p0, Landroidx/core/view/inputmethod/EditorInfoCompat;->EMPTY_STRING_ARRAY:[Ljava/lang/String;
	return-object p0
	:cond_2
	iget-object v0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	const-string v1, "androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
	invoke-virtual {v0, v1}, Landroid/os/Bundle;->getStringArray(Ljava/lang/String;)[Ljava/lang/String;
	move-result-object v0
	if-nez v0, :cond_3
	iget-object p0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	const-string v0, "android.support.v13.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
	invoke-virtual {p0, v0}, Landroid/os/Bundle;->getStringArray(Ljava/lang/String;)[Ljava/lang/String;
	move-result-object v0
	:cond_3
	if-eqz v0, :cond_4
	goto :goto_1
	:cond_4
	sget-object v0, Landroidx/core/view/inputmethod/EditorInfoCompat;->EMPTY_STRING_ARRAY:[Ljava/lang/String;
	:goto_1
	return-object v0
.end method

.method static getProtocol(Landroid/view/inputmethod/EditorInfo;)I
	.locals 3

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x19
	if-lt v0, v1, :cond_0
	const/4 p0, 0x1
	return p0
	:cond_0
	iget-object v0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	const/4 v1, 0x0
	if-nez v0, :cond_1
	return v1
	:cond_1
	iget-object v0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	const-string v2, "androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
	invoke-virtual {v0, v2}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z
	move-result v0
	iget-object p0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	const-string v2, "android.support.v13.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
	invoke-virtual {p0, v2}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z
	move-result p0
	if-eqz v0, :cond_2
	if-eqz p0, :cond_2
	const/4 p0, 0x4
	return p0
	:cond_2
	if-eqz v0, :cond_3
	const/4 p0, 0x3
	return p0
	:cond_3
	if-eqz p0, :cond_4
	const/4 p0, 0x2
	return p0
	:cond_4
	return v1
.end method

.method public static setContentMimeTypes(Landroid/view/inputmethod/EditorInfo;[Ljava/lang/String;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x19
	if-lt v0, v1, :cond_0
	iput-object p1, p0, Landroid/view/inputmethod/EditorInfo;->contentMimeTypes:[Ljava/lang/String;
	goto :goto_0
	:cond_0
	iget-object v0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	if-nez v0, :cond_1
	new-instance v0, Landroid/os/Bundle;
	invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
	iput-object v0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	:cond_1
	iget-object v0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	const-string v1, "androidx.core.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
	invoke-virtual {v0, v1, p1}, Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V
	iget-object p0, p0, Landroid/view/inputmethod/EditorInfo;->extras:Landroid/os/Bundle;
	const-string v0, "android.support.v13.view.inputmethod.EditorInfoCompat.CONTENT_MIME_TYPES"
	invoke-virtual {p0, v0, p1}, Landroid/os/Bundle;->putStringArray(Ljava/lang/String;[Ljava/lang/String;)V
	:goto_0
	return-void
.end method