CountryPicker$2.smali

.class final Lcom/imo/android/imoim/countrypicker/CountryPicker$2;
.super Landroid/app/Dialog;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/countrypicker/CountryPicker;->onCreateDialog(Landroid/os/Bundle;)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/countrypicker/CountryPicker;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/countrypicker/CountryPicker;Landroid/content/Context;)V
    .registers 3

    .line 132
    iput-object p1, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$2;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

    invoke-direct {p0, p2}, Landroid/app/Dialog;-><init>(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method public final dismiss()V
    .registers 3

    .line 136
    iget-object v0, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$2;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

    invoke-virtual {v0}, Lcom/imo/android/imoim/countrypicker/CountryPicker;->getView()Landroid/view/View;

    move-result-object v0

    .line 137
    iget-object v1, p0, Lcom/imo/android/imoim/countrypicker/CountryPicker$2;->a:Lcom/imo/android/imoim/countrypicker/CountryPicker;

    invoke-static {v1}, Lcom/imo/android/imoim/countrypicker/CountryPicker;->a(Lcom/imo/android/imoim/countrypicker/CountryPicker;)Z

    move-result v1

    if-eqz v1, :cond_21

    if-eqz v0, :cond_21

    invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v1

    if-eqz v1, :cond_21

    .line 138
    invoke-virtual {v0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/imo/android/imoim/util/ei;->a(Landroid/content/Context;Landroid/os/IBinder;)V

    .line 141
    :cond_21
    invoke-super {p0}, Landroid/app/Dialog;->dismiss()V

    return-void
.end method