219 lines
6.8 KiB
Smali
219 lines
6.8 KiB
Smali
.class public final Landroidx/lifecycle/EmittedSource;
|
|
.super Ljava/lang/Object;
|
|
.source "CoroutineLiveData.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlinx/coroutines/e1;
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\u0008\u0000\u0018\u00002\u00020\u0001B\u001f\u0012\n\u0010\u000b\u001a\u0006\u0012\u0002\u0008\u00030\n\u0012\n\u0010\u000e\u001a\u0006\u0012\u0002\u0008\u00030\r\u00a2\u0006\u0004\u0008\u0010\u0010\u0011J\u0008\u0010\u0003\u001a\u00020\u0002H\u0003J\u0013\u0010\u0004\u001a\u00020\u0002H\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008\u0004\u0010\u0005J\u0008\u0010\u0006\u001a\u00020\u0002H\u0016R\u0016\u0010\u0008\u001a\u00020\u00078\u0002@\u0002X\u0082\u000e\u00a2\u0006\u0006\n\u0004\u0008\u0008\u0010\tR\u0018\u0010\u000b\u001a\u0006\u0012\u0002\u0008\u00030\n8\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u000b\u0010\u000cR\u0018\u0010\u000e\u001a\u0006\u0012\u0002\u0008\u00030\r8\u0002X\u0082\u0004\u00a2\u0006\u0006\n\u0004\u0008\u000e\u0010\u000f\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006\u0012"
|
|
}
|
|
d2 = {
|
|
"Landroidx/lifecycle/EmittedSource;",
|
|
"Lkotlinx/coroutines/e1;",
|
|
"Lkotlin/d1;",
|
|
"removeSource",
|
|
"disposeNow",
|
|
"(Lkotlin/coroutines/c;)Ljava/lang/Object;",
|
|
"dispose",
|
|
"",
|
|
"disposed",
|
|
"Z",
|
|
"Landroidx/lifecycle/LiveData;",
|
|
"source",
|
|
"Landroidx/lifecycle/LiveData;",
|
|
"Landroidx/lifecycle/MediatorLiveData;",
|
|
"mediator",
|
|
"Landroidx/lifecycle/MediatorLiveData;",
|
|
"<init>",
|
|
"(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/MediatorLiveData;)V",
|
|
"lifecycle-livedata-ktx_release"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private disposed:Z
|
|
|
|
.field private final mediator:Landroidx/lifecycle/MediatorLiveData;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/lifecycle/MediatorLiveData<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final source:Landroidx/lifecycle/LiveData;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/MediatorLiveData;)V
|
|
.locals 1
|
|
.param p1 # Landroidx/lifecycle/LiveData;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Landroidx/lifecycle/MediatorLiveData;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/lifecycle/LiveData<",
|
|
"*>;",
|
|
"Landroidx/lifecycle/MediatorLiveData<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "source"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "mediator"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/lifecycle/EmittedSource;->source:Landroidx/lifecycle/LiveData;
|
|
|
|
iput-object p2, p0, Landroidx/lifecycle/EmittedSource;->mediator:Landroidx/lifecycle/MediatorLiveData;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$removeSource(Landroidx/lifecycle/EmittedSource;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroidx/lifecycle/EmittedSource;->removeSource()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final removeSource()V
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/MainThread;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-boolean v0, p0, Landroidx/lifecycle/EmittedSource;->disposed:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/lifecycle/EmittedSource;->mediator:Landroidx/lifecycle/MediatorLiveData;
|
|
|
|
iget-object v1, p0, Landroidx/lifecycle/EmittedSource;->source:Landroidx/lifecycle/LiveData;
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/lifecycle/MediatorLiveData;->removeSource(Landroidx/lifecycle/LiveData;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 3
|
|
iput-boolean v0, p0, Landroidx/lifecycle/EmittedSource;->disposed:Z
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public dispose()V
|
|
.locals 7
|
|
|
|
.line 1
|
|
invoke-static {}, Lkotlinx/coroutines/b1;->e()Lkotlinx/coroutines/i2;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/i2;->H1()Lkotlinx/coroutines/i2;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lkotlinx/coroutines/o0;->a(Lkotlin/coroutines/CoroutineContext;)Lkotlinx/coroutines/n0;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v4, Landroidx/lifecycle/EmittedSource$dispose$1;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {v4, p0, v0}, Landroidx/lifecycle/EmittedSource$dispose$1;-><init>(Landroidx/lifecycle/EmittedSource;Lkotlin/coroutines/c;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v5, 0x3
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-static/range {v1 .. v6}, Lkotlinx/coroutines/g;->f(Lkotlinx/coroutines/n0;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lej/p;ILjava/lang/Object;)Lkotlinx/coroutines/y1;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final disposeNow(Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
.locals 3
|
|
.param p1 # Lkotlin/coroutines/c;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/coroutines/c<",
|
|
"-",
|
|
"Lkotlin/d1;",
|
|
">;)",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {}, Lkotlinx/coroutines/b1;->e()Lkotlinx/coroutines/i2;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lkotlinx/coroutines/i2;->H1()Lkotlinx/coroutines/i2;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Landroidx/lifecycle/EmittedSource$disposeNow$2;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-direct {v1, p0, v2}, Landroidx/lifecycle/EmittedSource$disposeNow$2;-><init>(Landroidx/lifecycle/EmittedSource;Lkotlin/coroutines/c;)V
|
|
|
|
invoke-static {v0, v1, p1}, Lkotlinx/coroutines/g;->i(Lkotlin/coroutines/CoroutineContext;Lej/p;Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|