.class Lcom/in2wow/sdk/b/g$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/media/MediaPlayer$OnCompletionListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/in2wow/sdk/b/g;->a(Ljava/lang/String;Ljava/lang/String;Lcom/in2wow/sdk/i/c;ILandroid/view/Surface;FLjava/lang/String;ZLandroid/media/MediaPlayer$OnPreparedListener;Landroid/media/MediaPlayer$OnCompletionListener;Landroid/media/MediaPlayer$OnErrorListener;Lcom/in2wow/sdk/b/g$b;)V
.end annotation

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


# instance fields
.field final synthetic a:Lcom/in2wow/sdk/b/g;

.field private final synthetic b:Lcom/in2wow/sdk/b/g$b;

.field private final synthetic c:Landroid/media/MediaPlayer$OnCompletionListener;

.field private final synthetic d:Lcom/in2wow/sdk/i/c;

.field private final synthetic e:I

.field private final synthetic f:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/in2wow/sdk/b/g;Lcom/in2wow/sdk/b/g$b;Landroid/media/MediaPlayer$OnCompletionListener;Lcom/in2wow/sdk/i/c;ILjava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/in2wow/sdk/b/g$1;->a:Lcom/in2wow/sdk/b/g;

    iput-object p2, p0, Lcom/in2wow/sdk/b/g$1;->b:Lcom/in2wow/sdk/b/g$b;

    iput-object p3, p0, Lcom/in2wow/sdk/b/g$1;->c:Landroid/media/MediaPlayer$OnCompletionListener;

    iput-object p4, p0, Lcom/in2wow/sdk/b/g$1;->d:Lcom/in2wow/sdk/i/c;

    iput p5, p0, Lcom/in2wow/sdk/b/g$1;->e:I

    iput-object p6, p0, Lcom/in2wow/sdk/b/g$1;->f:Ljava/lang/String;

    .line 154
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCompletion(Landroid/media/MediaPlayer;)V
    .locals 4

    .line 157
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->a:Lcom/in2wow/sdk/b/g;

    invoke-static {v0}, Lcom/in2wow/sdk/b/g;->a(Lcom/in2wow/sdk/b/g;)Lcom/in2wow/sdk/b/g$a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/in2wow/sdk/b/g$a;->a()V

    .line 159
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->b:Lcom/in2wow/sdk/b/g$b;

    if-eqz v0, :cond_0

    .line 160
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->b:Lcom/in2wow/sdk/b/g$b;

    invoke-interface {v0}, Lcom/in2wow/sdk/b/g$b;->a()V

    .line 163
    :cond_0
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->a:Lcom/in2wow/sdk/b/g;

    invoke-static {v0}, Lcom/in2wow/sdk/b/g;->b(Lcom/in2wow/sdk/b/g;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/in2wow/sdk/b/e;->a(Landroid/content/Context;)Lcom/in2wow/sdk/b/e;

    move-result-object v0

    invoke-virtual {v0}, Lcom/in2wow/sdk/b/e;->A()Lcom/in2wow/sdk/b/l$a;

    move-result-object v0

    .line 164
    iget-object v1, p0, Lcom/in2wow/sdk/b/g$1;->a:Lcom/in2wow/sdk/b/g;

    invoke-static {v1}, Lcom/in2wow/sdk/b/g;->c(Lcom/in2wow/sdk/b/g;)Z

    move-result v1

    if-eqz v1, :cond_4

    if-eqz v0, :cond_2

    .line 167
    invoke-virtual {v0}, Lcom/in2wow/sdk/b/l$a;->b()Lcom/in2wow/sdk/b/l$a$a;

    move-result-object v0

    sget-object v1, Lcom/in2wow/sdk/b/l$a$a;->c:Lcom/in2wow/sdk/b/l$a$a;

    if-ne v0, v1, :cond_2

    .line 168
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->c:Landroid/media/MediaPlayer$OnCompletionListener;

    if-eqz v0, :cond_1

    .line 169
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->c:Landroid/media/MediaPlayer$OnCompletionListener;

    invoke-interface {v0, p1}, Landroid/media/MediaPlayer$OnCompletionListener;->onCompletion(Landroid/media/MediaPlayer;)V

    :cond_1
    return-void

    .line 173
    :cond_2
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->a:Lcom/in2wow/sdk/b/g;

    invoke-static {v0}, Lcom/in2wow/sdk/b/g;->a(Lcom/in2wow/sdk/b/g;)Lcom/in2wow/sdk/b/g$a;

    move-result-object v0

    iget-object v1, p0, Lcom/in2wow/sdk/b/g$1;->d:Lcom/in2wow/sdk/i/c;

    iget v2, p0, Lcom/in2wow/sdk/b/g$1;->e:I

    iget-object v3, p0, Lcom/in2wow/sdk/b/g$1;->f:Ljava/lang/String;

    invoke-virtual {v0, v1, v2, v3}, Lcom/in2wow/sdk/b/g$a;->a(Lcom/in2wow/sdk/i/c;ILjava/lang/String;)V

    .line 174
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->a:Lcom/in2wow/sdk/b/g;

    invoke-static {v0}, Lcom/in2wow/sdk/b/g;->d(Lcom/in2wow/sdk/b/g;)Z

    move-result v0

    if-nez v0, :cond_3

    .line 175
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->a:Lcom/in2wow/sdk/b/g;

    invoke-static {v0}, Lcom/in2wow/sdk/b/g;->a(Lcom/in2wow/sdk/b/g;)Lcom/in2wow/sdk/b/g$a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/in2wow/sdk/b/g$a;->b()V

    :cond_3
    const/4 v0, 0x0

    .line 177
    invoke-virtual {p1, v0}, Landroid/media/MediaPlayer;->seekTo(I)V

    .line 178
    invoke-virtual {p1}, Landroid/media/MediaPlayer;->start()V

    goto :goto_0

    .line 181
    :cond_4
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->c:Landroid/media/MediaPlayer$OnCompletionListener;

    if-eqz v0, :cond_5

    .line 182
    iget-object v0, p0, Lcom/in2wow/sdk/b/g$1;->c:Landroid/media/MediaPlayer$OnCompletionListener;

    invoke-interface {v0, p1}, Landroid/media/MediaPlayer$OnCompletionListener;->onCompletion(Landroid/media/MediaPlayer;)V

    :cond_5
    :goto_0
    return-void
.end method
