Rabbit-R1/android (non root)/smali/smali_classes2/androidx/lifecycle/CompositeGeneratedAdaptersObserver.smali
2024-05-21 17:08:36 -04:00

121 lines
3.8 KiB
Smali

.class public final Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;
.super Ljava/lang/Object;
.source "CompositeGeneratedAdaptersObserver.kt"
# interfaces
.implements Landroidx/lifecycle/LifecycleEventObserver;
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0008\u0000\u0018\u00002\u00020\u0001B\u0013\u0012\u000c\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u00a2\u0006\u0002\u0010\u0005J\u0018\u0010\u0007\u001a\u00020\u00082\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\u000cH\u0016R\u0016\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003X\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u0006\u00a8\u0006\r"
}
d2 = {
"Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;",
"Landroidx/lifecycle/LifecycleEventObserver;",
"generatedAdapters",
"",
"Landroidx/lifecycle/GeneratedAdapter;",
"([Landroidx/lifecycle/GeneratedAdapter;)V",
"[Landroidx/lifecycle/GeneratedAdapter;",
"onStateChanged",
"",
"source",
"Landroidx/lifecycle/LifecycleOwner;",
"event",
"Landroidx/lifecycle/Lifecycle$Event;",
"lifecycle-common"
}
k = 0x1
mv = {
0x1,
0x8,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final generatedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
# direct methods
.method public constructor <init>([Landroidx/lifecycle/GeneratedAdapter;)V
.locals 1
const-string v0, "generatedAdapters"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 18
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;->generatedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
return-void
.end method
# virtual methods
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
.locals 6
const-string v0, "source"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "event"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 23
new-instance v0, Landroidx/lifecycle/MethodCallsLogger;
invoke-direct {v0}, Landroidx/lifecycle/MethodCallsLogger;-><init>()V
iget-object v1, p0, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;->generatedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
.line 24
array-length v2, v1
const/4 v3, 0x0
move v4, v3
:goto_0
if-ge v4, v2, :cond_0
aget-object v5, v1, v4
.line 25
invoke-interface {v5, p1, p2, v3, v0}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_0
iget-object p0, p0, Landroidx/lifecycle/CompositeGeneratedAdaptersObserver;->generatedAdapters:[Landroidx/lifecycle/GeneratedAdapter;
.line 27
array-length v1, p0
:goto_1
if-ge v3, v1, :cond_1
aget-object v2, p0, v3
const/4 v4, 0x1
.line 28
invoke-interface {v2, p1, p2, v4, v0}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
add-int/lit8 v3, v3, 0x1
goto :goto_1
:cond_1
return-void
.end method