AutocompleteImplFragment$zzb.smali
.class public final Lcom/google/android/libraries/places/widget/internal/ui/AutocompleteImplFragment$zzb;
.super Ljava/lang/Object;
.source "com.google.android.libraries.places:places@@2.3.0"
# interfaces
.implements Landroid/view/View$OnFocusChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/libraries/places/widget/internal/ui/AutocompleteImplFragment;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "zzb"
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/google/android/libraries/places/widget/internal/ui/zzg;)V
.registers 2
invoke-direct {p0}, Lcom/google/android/libraries/places/widget/internal/ui/AutocompleteImplFragment$zzb;-><init>()V
return-void
.end method
# virtual methods
.method public final onFocusChange(Landroid/view/View;Z)V
.registers 5
:try_start_0
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v0
const-class v1, Landroid/view/inputmethod/InputMethodManager;
invoke-static {v0, v1}, Landroidx/core/content/ContextCompat;->getSystemService(Landroid/content/Context;Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/inputmethod/InputMethodManager;
if-eqz v0, :cond_1d
if-eqz p2, :cond_15
const/4 p2, 0x1
invoke-virtual {v0, p1, p2}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z
return-void
:cond_15
invoke-virtual {p1}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;
move-result-object p1
const/4 p2, 0x0
invoke-virtual {v0, p1, p2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z
:try_end_1d
.catch Ljava/lang/Error; {:try_start_0 .. :try_end_1d} :catch_20
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_1d} :catch_1e
:cond_1d
return-void
:catch_1e
move-exception p1
goto :goto_21
:catch_20
move-exception p1
:goto_21
invoke-static {p1}, Lcom/google/android/libraries/places/internal/zzdk;->zza(Ljava/lang/Throwable;)V
throw p1
.end method