BigGroupRoomMemberComponent$a.smali
.class final Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent$a;
.super Landroid/content/BroadcastReceiver;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = "a"
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;
# direct methods
.method private constructor <init>(Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;)V
.registers 2
.line 1557
iput-object p1, p0, Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent$a;->a:Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;B)V
.registers 3
.line 1557
invoke-direct {p0, p1}, Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent$a;-><init>(Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;)V
return-void
.end method
# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.registers 5
if-eqz p2, :cond_43
.line 1560
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object p1
if-nez p1, :cond_9
goto :goto_43
.line 1564
:cond_9
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object p1
const-string p2, "android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED"
.line 1565
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p2
if-nez p2, :cond_1d
const-string p2, "android.intent.action.HEADSET_PLUG"
invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_43
.line 1566
:cond_1d
invoke-static {}, Lcom/imo/android/imoim/biggroup/chatroom/c/a/j;->g()Z
move-result p2
.line 1567
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "HeadsetReceiver, onReceive, action:"
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, ", isPluggedIn:"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v0, "tag_chatroom_ui"
.line 2071
invoke-static {v0, p1}, Lcom/imo/android/imoim/util/bt;->d(Ljava/lang/String;Ljava/lang/String;)V
.line 1568
iget-object p1, p0, Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent$a;->a:Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;
xor-int/lit8 p2, p2, 0x1
invoke-virtual {p1, p2}, Lcom/imo/android/imoim/biggroup/chatroom/room/BigGroupRoomMemberComponent;->c(Z)V
:cond_43
:goto_43
return-void
.end method