161 lines
6.2 KiB
Smali
161 lines
6.2 KiB
Smali
.class public final Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;
|
|
.super Lw/u/b/k;
|
|
.source "CallFeedbackSheetNavigator.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;->enqueueNotice(JLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;I)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lw/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Landroidx/fragment/app/FragmentActivity;",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $callDuration:Ljava/lang/Long;
|
|
|
|
.field public final synthetic $channelId:J
|
|
|
|
.field public final synthetic $mediaSessionId:Ljava/lang/String;
|
|
|
|
.field public final synthetic $noticeName:Ljava/lang/String;
|
|
|
|
.field public final synthetic $requestedShowTimestamp:J
|
|
|
|
.field public final synthetic $rtcConnectionId:Ljava/lang/String;
|
|
|
|
.field public final synthetic $storeNotices:Lcom/discord/stores/StoreNotices;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(JJLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/discord/stores/StoreNotices;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
iput-wide p1, p0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$requestedShowTimestamp:J
|
|
|
|
iput-wide p3, p0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$channelId:J
|
|
|
|
iput-object p5, p0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$rtcConnectionId:Ljava/lang/String;
|
|
|
|
iput-object p6, p0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$mediaSessionId:Ljava/lang/String;
|
|
|
|
iput-object p7, p0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$callDuration:Ljava/lang/Long;
|
|
|
|
iput-object p8, p0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$storeNotices:Lcom/discord/stores/StoreNotices;
|
|
|
|
iput-object p9, p0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$noticeName:Ljava/lang/String;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lw/u/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Landroidx/fragment/app/FragmentActivity;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->invoke(Landroidx/fragment/app/FragmentActivity;)Z
|
|
|
|
move-result p1
|
|
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(Landroidx/fragment/app/FragmentActivity;)Z
|
|
.locals 19
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
sget-object v1, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;->INSTANCE:Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;
|
|
|
|
invoke-static {v1}, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;->access$getClock$p(Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;)Lcom/discord/utilities/time/Clock;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Lcom/discord/utilities/time/Clock;->currentTimeMillis()J
|
|
|
|
move-result-wide v1
|
|
|
|
iget-wide v3, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$requestedShowTimestamp:J
|
|
|
|
sub-long/2addr v1, v3
|
|
|
|
const-wide/16 v3, 0xbb8
|
|
|
|
cmp-long v5, v1, v3
|
|
|
|
if-gez v5, :cond_0
|
|
|
|
sget-object v6, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;->INSTANCE:Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;
|
|
|
|
invoke-virtual/range {p1 .. p1}, Landroidx/fragment/app/FragmentActivity;->getSupportFragmentManager()Landroidx/fragment/app/FragmentManager;
|
|
|
|
move-result-object v7
|
|
|
|
const-string v1, "fragmentActivity.supportFragmentManager"
|
|
|
|
invoke-static {v7, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-wide v8, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$channelId:J
|
|
|
|
iget-object v10, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$rtcConnectionId:Ljava/lang/String;
|
|
|
|
iget-object v11, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$mediaSessionId:Ljava/lang/String;
|
|
|
|
iget-object v12, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$callDuration:Ljava/lang/Long;
|
|
|
|
invoke-static/range {v6 .. v12}, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;->access$show(Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator;Landroidx/fragment/app/FragmentManager;JLjava/lang/String;Ljava/lang/String;Ljava/lang/Long;)V
|
|
|
|
:cond_0
|
|
iget-object v13, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$storeNotices:Lcom/discord/stores/StoreNotices;
|
|
|
|
iget-object v14, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$noticeName:Ljava/lang/String;
|
|
|
|
const-wide/16 v15, 0x0
|
|
|
|
const/16 v17, 0x2
|
|
|
|
const/16 v18, 0x0
|
|
|
|
invoke-static/range {v13 .. v18}, Lcom/discord/stores/StoreNotices;->markSeen$default(Lcom/discord/stores/StoreNotices;Ljava/lang/String;JILjava/lang/Object;)V
|
|
|
|
const/4 v1, 0x1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
const-string v1, "fragmentActivity"
|
|
|
|
invoke-static {v1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
throw v1
|
|
.end method
|