91 lines
2.2 KiB
Smali
91 lines
2.2 KiB
Smali
.class Lcom/moji/mjweather/voice/VoicePlayer$1;
|
|
.super Ljava/lang/Object;
|
|
.source "VoicePlayer.java"
|
|
|
|
# interfaces
|
|
.implements Landroid/media/AudioManager$OnAudioFocusChangeListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/voice/VoicePlayer;->a()Z
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/mjweather/voice/VoicePlayer;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/voice/VoicePlayer;)V
|
|
.locals 0
|
|
|
|
.line 84
|
|
iput-object p1, p0, Lcom/moji/mjweather/voice/VoicePlayer$1;->a:Lcom/moji/mjweather/voice/VoicePlayer;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onAudioFocusChange(I)V
|
|
.locals 3
|
|
|
|
const-string v0, "VoicePlayer"
|
|
|
|
.line 87
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "onAudioFocusChange :"
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
packed-switch p1, :pswitch_data_0
|
|
|
|
:pswitch_0
|
|
goto :goto_0
|
|
|
|
.line 91
|
|
:pswitch_1
|
|
iget-object p1, p0, Lcom/moji/mjweather/voice/VoicePlayer$1;->a:Lcom/moji/mjweather/voice/VoicePlayer;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjweather/voice/VoicePlayer;->a(Lcom/moji/mjweather/voice/VoicePlayer;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 95
|
|
:pswitch_2
|
|
iget-object p1, p0, Lcom/moji/mjweather/voice/VoicePlayer$1;->a:Lcom/moji/mjweather/voice/VoicePlayer;
|
|
|
|
invoke-static {p1}, Lcom/moji/mjweather/voice/VoicePlayer;->b(Lcom/moji/mjweather/voice/VoicePlayer;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
:pswitch_data_0
|
|
.packed-switch -0x2
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_0
|
|
:pswitch_1
|
|
:pswitch_1
|
|
.end packed-switch
|
|
.end method
|