apkfuckery/com.discord/smali_classes2/com/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$...

159 lines
6.2 KiB
Smali

.class public final Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;
.super Lk0/n/c/j;
.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 = {
"Lk0/n/c/j;",
"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}, Lk0/n/c/j;-><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 15
move-object v0, p0
const-string v1, "fragmentActivity"
move-object/from16 v2, p1
invoke-static {v2, v1}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
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 v3
iget-wide v5, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$requestedShowTimestamp:J
sub-long/2addr v3, v5
const-wide/16 v5, 0xbb8
cmp-long v1, v3, v5
if-gez v1, :cond_0
sget-object v1, 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 v3
const-string v2, "fragmentActivity.supportFragmentManager"
invoke-static {v3, v2}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
iget-wide v4, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$channelId:J
iget-object v6, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$rtcConnectionId:Ljava/lang/String;
iget-object v7, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$mediaSessionId:Ljava/lang/String;
iget-object v8, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$callDuration:Ljava/lang/Long;
move-object v2, v1
invoke-static/range {v2 .. v8}, 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 v9, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$storeNotices:Lcom/discord/stores/StoreNotices;
iget-object v10, v0, Lcom/discord/widgets/voice/feedback/CallFeedbackSheetNavigator$enqueueNotice$showCallFeedbackSheetNotice$1;->$noticeName:Ljava/lang/String;
const-wide/16 v11, 0x0
const/4 v13, 0x2
const/4 v14, 0x0
invoke-static/range {v9 .. v14}, Lcom/discord/stores/StoreNotices;->markSeen$default(Lcom/discord/stores/StoreNotices;Ljava/lang/String;JILjava/lang/Object;)V
const/4 v1, 0x1
return v1
.end method