.class final Lcom/moji/mjweather/voice/PlayerUtil$3; .super Ljava/lang/Object; .source "PlayerUtil.java" # interfaces .implements Lcom/moji/mjweather/voice/VoiceContentMgr$OnPrepareFileListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/moji/mjweather/voice/PlayerUtil;->a(Landroid/content/Context;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = null .end annotation # instance fields .field final synthetic a:Landroid/content/Context; # direct methods .method constructor (Landroid/content/Context;)V .locals 0 .line 105 iput-object p1, p0, Lcom/moji/mjweather/voice/PlayerUtil$3;->a:Landroid/content/Context; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public a()V .locals 0 return-void .end method .method public a(ZLcom/moji/mjweather/voice/VoiceContentMgr$CombineResult;Lcom/moji/mjweather/voice/VoiceContentMgr$CombineResult;)V .locals 2 const/4 v0, 0x0 const v1, 0x7f0e0a24 if-eqz p1, :cond_1 .line 110 invoke-static {}, Lcom/moji/mjweather/voice/PlayerUtil;->c()Lcom/moji/mjweather/voice/VoicePlayer; move-result-object p1 invoke-virtual {p1}, Lcom/moji/mjweather/voice/VoicePlayer;->a()Z move-result p1 .line 111 iget p2, p2, Lcom/moji/mjweather/voice/VoiceContentMgr$CombineResult;->a:I if-nez p2, :cond_0 iget p2, p3, Lcom/moji/mjweather/voice/VoiceContentMgr$CombineResult;->a:I if-nez p2, :cond_0 if-eqz p1, :cond_0 .line 113 invoke-static {}, Lcom/moji/mjweather/voice/PlayerUtil;->c()Lcom/moji/mjweather/voice/VoicePlayer; move-result-object p1 invoke-virtual {p1}, Lcom/moji/mjweather/voice/VoicePlayer;->b()V const/4 p1, 0x1 .line 114 invoke-static {p1}, Lcom/moji/mjweather/voice/PlayerUtil;->a(Z)V goto :goto_0 :cond_0 const-string p1, "PlayerUtil" const-string p2, "voice_play_error 1" .line 116 invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->e(Ljava/lang/String;Ljava/lang/String;)V .line 117 iget-object p1, p0, Lcom/moji/mjweather/voice/PlayerUtil$3;->a:Landroid/content/Context; iget-object p2, p0, Lcom/moji/mjweather/voice/PlayerUtil$3;->a:Landroid/content/Context; invoke-virtual {p2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object p2 invoke-virtual {p2, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String; move-result-object p2 invoke-static {p1, p2, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; move-result-object p1 invoke-virtual {p1}, Landroid/widget/Toast;->show()V goto :goto_0 :cond_1 const-string p1, "PlayerUtil" const-string p2, "voice_play_error 1" .line 120 invoke-static {p1, p2}, Lcom/moji/tool/log/MJLogger;->e(Ljava/lang/String;Ljava/lang/String;)V .line 121 iget-object p1, p0, Lcom/moji/mjweather/voice/PlayerUtil$3;->a:Landroid/content/Context; iget-object p2, p0, Lcom/moji/mjweather/voice/PlayerUtil$3;->a:Landroid/content/Context; invoke-virtual {p2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; move-result-object p2 invoke-virtual {p2, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String; move-result-object p2 invoke-static {p1, p2, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast; move-result-object p1 invoke-virtual {p1}, Landroid/widget/Toast;->show()V :goto_0 return-void .end method