GroupProfileActivityS$6.smali
.class final Lcom/imo/android/imoim/group/GroupProfileActivityS$6;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/widget/PopupMenu$OnMenuItemClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/imo/android/imoim/group/GroupProfileActivityS;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
# direct methods
.method constructor <init>(Lcom/imo/android/imoim/group/GroupProfileActivityS;)V
.registers 2
.line 336
iput-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onMenuItemClick(Landroid/view/MenuItem;)Z
.registers 11
.line 340
iget-object v0, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
.line 341
invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I
move-result p1
const/16 v1, 0xa
const-string v2, "group_profile"
if-eq p1, v1, :cond_11d
const/16 v1, 0xd
if-eq p1, v1, :cond_104
const/16 v1, 0x14
if-eq p1, v1, :cond_cf
packed-switch p1, :pswitch_data_15e
goto/16 :goto_15c
.line 371
:pswitch_19
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-virtual {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->a()Z
move-result p1
if-eqz p1, :cond_15c
.line 372
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v0, "menu_add_member"
invoke-virtual {p1, v2, v0}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 373
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->m(Lcom/imo/android/imoim/group/GroupProfileActivityS;)V
goto/16 :goto_15c
.line 367
:pswitch_2f
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v1, "open_album"
invoke-virtual {p1, v2, v1}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 368
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->i(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Ljava/lang/String;
move-result-object p1
iget-object v1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {v1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->l(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Ljava/lang/String;
move-result-object v1
invoke-static {v0, p1, v1}, Lcom/imo/android/imoim/util/ei;->i(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
goto/16 :goto_15c
.line 359
:pswitch_47
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v1, "shortcut"
.line 360
invoke-virtual {p1, v2, v1}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 361
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->k(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Lcom/imo/android/imoim/data/Buddy;
move-result-object p1
if-nez p1, :cond_5b
.line 362
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->d(Lcom/imo/android/imoim/group/GroupProfileActivityS;)V
.line 364
:cond_5b
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->k(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Lcom/imo/android/imoim/data/Buddy;
move-result-object p1
invoke-static {v0, p1}, Lcom/imo/android/imoim/util/ei;->a(Landroid/content/Context;Lcom/imo/android/imoim/data/Buddy;)V
goto/16 :goto_15c
.line 351
:pswitch_66
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-virtual {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->a()Z
move-result p1
if-eqz p1, :cond_15c
.line 352
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v1, "menu_icon"
invoke-virtual {p1, v2, v1}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 353
invoke-static {v0}, Lcom/imo/android/imoim/util/cd;->a(Landroid/app/Activity;)V
goto/16 :goto_15c
.line 347
:pswitch_7a
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v0, "mute"
invoke-virtual {p1, v2, v0}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 348
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->k(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Lcom/imo/android/imoim/data/Buddy;
move-result-object p1
.line 1117
invoke-virtual {p1}, Lcom/imo/android/imoim/data/Buddy;->l()Z
move-result v0
xor-int/lit8 v0, v0, 0x1
.line 1118
sget-object v1, Lcom/imo/android/imoim/IMO;->g:Lcom/imo/android/imoim/managers/t;
invoke-virtual {p1}, Lcom/imo/android/imoim/data/Buddy;->k()Ljava/lang/String;
move-result-object p1
invoke-static {p1, v0}, Lcom/imo/android/imoim/managers/t;->a(Ljava/lang/String;Z)V
goto/16 :goto_15c
.line 343
:pswitch_98
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v1, "leave"
invoke-virtual {p1, v2, v1}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 344
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->i(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Ljava/lang/String;
move-result-object p1
iget-object v1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {v1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->k(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Lcom/imo/android/imoim/data/Buddy;
.line 1101
new-instance v2, Landroid/view/ContextThemeWrapper;
const v1, 0x7f100188
invoke-direct {v2, v0, v1}, Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V
.line 1102
invoke-static {}, Lcom/imo/android/imoim/IMO;->a()Lcom/imo/android/imoim/IMO;
move-result-object v1
const v3, 0x7f0f0560
invoke-virtual {v1, v3}, Lcom/imo/android/imoim/IMO;->getString(I)Ljava/lang/String;
move-result-object v3
const v5, 0x7f0f0c4e
new-instance v6, Lcom/imo/android/imoim/fragments/g$2;
invoke-direct {v6, p1, v0}, Lcom/imo/android/imoim/fragments/g$2;-><init>(Ljava/lang/String;Landroid/app/Activity;)V
const v7, 0x7f0f060d
const-string v4, ""
.line 1101
invoke-static/range {v2 .. v7}, Lcom/imo/android/imoim/util/common/l;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/imo/xui/widget/a/b$c;I)V
goto/16 :goto_15c
.line 377
:cond_cf
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v1, "add_story"
invoke-virtual {p1, v2, v1}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 378
invoke-static {}, Lcom/imo/android/imoim/story/c/b;->h()Z
move-result p1
if-eqz p1, :cond_fe
.line 379
new-instance v2, Landroid/content/Intent;
invoke-direct {v2}, Landroid/content/Intent;-><init>()V
.line 380
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->l(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Ljava/lang/String;
move-result-object p1
const-string v1, "share_group_story"
invoke-virtual {v2, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
.line 381
sget-object v1, Lcom/imo/android/imoim/camera/CameraEditView$f;->TEXT:Lcom/imo/android/imoim/camera/CameraEditView$f;
const/4 v3, 0x0
const/4 v4, 0x0
const p1, 0x7f0f08eb
.line 382
invoke-virtual {v0, p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->getString(I)Ljava/lang/String;
move-result-object v5
const/4 v6, 0x0
sget-object v7, Lcom/imo/android/imoim/biggroup/zone/ui/gallery/BigoGalleryConfig;->b:Ljava/lang/String;
.line 381
invoke-static/range {v0 .. v7}, Lcom/imo/android/imoim/camera/CameraActivity2;->a(Landroid/content/Context;Lcom/imo/android/imoim/camera/CameraEditView$f;Landroid/content/Intent;Ljava/util/ArrayList;Lcom/imo/android/imoim/data/FileTypeHelper$Music;Ljava/lang/String;ILjava/lang/String;)V
goto :goto_15c
.line 384
:cond_fe
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-virtual {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->b()V
goto :goto_15c
.line 394
:cond_104
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-virtual {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->a()Z
move-result p1
if-eqz p1, :cond_15c
.line 395
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v1, "change_name"
invoke-virtual {p1, v2, v1}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 396
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->k(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Lcom/imo/android/imoim/data/Buddy;
move-result-object p1
invoke-static {v0, p1}, Lcom/imo/android/imoim/fragments/g;->a(Landroid/app/Activity;Lcom/imo/android/imoim/data/Buddy;)V
goto :goto_15c
.line 388
:cond_11d
iget-object p1, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-virtual {p1}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->a()Z
move-result p1
if-eqz p1, :cond_15c
.line 389
sget-object p1, Lcom/imo/android/imoim/IMO;->b:Lcom/imo/android/imoim/managers/bb;
const-string v0, "delete_chat"
invoke-virtual {p1, v2, v0}, Lcom/imo/android/imoim/managers/bb;->a(Ljava/lang/String;Ljava/lang/String;)V
.line 390
iget-object v3, p0, Lcom/imo/android/imoim/group/GroupProfileActivityS$6;->a:Lcom/imo/android/imoim/group/GroupProfileActivityS;
invoke-static {v3}, Lcom/imo/android/imoim/group/GroupProfileActivityS;->k(Lcom/imo/android/imoim/group/GroupProfileActivityS;)Lcom/imo/android/imoim/data/Buddy;
move-result-object p1
if-eqz v3, :cond_15c
.line 2060
invoke-virtual {v3}, Landroid/app/Activity;->isFinishing()Z
move-result v0
if-eqz v0, :cond_13b
goto :goto_15c
:cond_13b
if-eqz p1, :cond_15c
.line 2068
invoke-virtual {p1}, Lcom/imo/android/imoim/data/Buddy;->p()Ljava/lang/String;
move-result-object v0
.line 2069
invoke-virtual {p1}, Lcom/imo/android/imoim/data/Buddy;->k()Ljava/lang/String;
move-result-object p1
const v1, 0x7f0f036f
.line 2070
invoke-virtual {v3, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;
move-result-object v5
const v6, 0x7f0f035d
.line 2072
new-instance v7, Lcom/imo/android/imoim/fragments/g$1;
invoke-direct {v7, v0, p1, v3}, Lcom/imo/android/imoim/fragments/g$1;-><init>(Ljava/lang/String;Ljava/lang/String;Landroid/app/Activity;)V
const v8, 0x7f0f01f0
const-string v4, ""
invoke-static/range {v3 .. v8}, Lcom/imo/android/imoim/util/common/l;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/imo/xui/widget/a/b$c;I)V
:cond_15c
:goto_15c
const/4 p1, 0x0
return p1
:pswitch_data_15e
.packed-switch 0x3
:pswitch_98
:pswitch_7a
:pswitch_66
:pswitch_47
:pswitch_2f
:pswitch_19
.end packed-switch
.end method