Changes of com.discord v1181
This commit is contained in:
parent
f52990c3c2
commit
5a8adcbf82
29917 changed files with 1840412 additions and 1765629 deletions
|
@ -0,0 +1,191 @@
|
|||
.class public abstract Landroidx/lifecycle/AbstractSavedStateViewModelFactory;
|
||||
.super Landroidx/lifecycle/ViewModelProvider$KeyedFactory;
|
||||
.source "AbstractSavedStateViewModelFactory.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final TAG_SAVED_STATE_HANDLE_CONTROLLER:Ljava/lang/String; = "androidx.lifecycle.savedstate.vm.tag"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mDefaultArgs:Landroid/os/Bundle;
|
||||
|
||||
.field public final mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
.field public final mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/savedstate/SavedStateRegistryOwner;Landroid/os/Bundle;)V
|
||||
.locals 1
|
||||
.param p1 # Landroidx/savedstate/SavedStateRegistryOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/ViewModelProvider$KeyedFactory;-><init>()V
|
||||
|
||||
invoke-interface {p1}, Landroidx/savedstate/SavedStateRegistryOwner;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
invoke-interface {p1}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mDefaultArgs:Landroid/os/Bundle;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
.locals 1
|
||||
.param p1 # Ljava/lang/Class;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Landroidx/lifecycle/ViewModel;",
|
||||
">(",
|
||||
"Ljava/lang/Class<",
|
||||
"TT;>;)TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->create(Ljava/lang/String;Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Local and anonymous classes can not be ViewModels"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final create(Ljava/lang/String;Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
.locals 3
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Ljava/lang/Class;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Landroidx/lifecycle/ViewModel;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Class<",
|
||||
"TT;>;)TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iget-object v2, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mDefaultArgs:Landroid/os/Bundle;
|
||||
|
||||
invoke-static {v0, v1, p1, v2}, Landroidx/lifecycle/SavedStateHandleController;->create(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;Ljava/lang/String;Landroid/os/Bundle;)Landroidx/lifecycle/SavedStateHandleController;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/SavedStateHandleController;->getHandle()Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p0, p1, p2, v1}, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->create(Ljava/lang/String;Ljava/lang/Class;Landroidx/lifecycle/SavedStateHandle;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string p2, "androidx.lifecycle.savedstate.vm.tag"
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroidx/lifecycle/ViewModel;->setTagIfAbsent(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public abstract create(Ljava/lang/String;Ljava/lang/Class;Landroidx/lifecycle/SavedStateHandle;)Landroidx/lifecycle/ViewModel;
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Ljava/lang/Class;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroidx/lifecycle/SavedStateHandle;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Landroidx/lifecycle/ViewModel;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Class<",
|
||||
"TT;>;",
|
||||
"Landroidx/lifecycle/SavedStateHandle;",
|
||||
")TT;"
|
||||
}
|
||||
.end annotation
|
||||
.end method
|
||||
|
||||
.method public onRequery(Landroidx/lifecycle/ViewModel;)V
|
||||
.locals 2
|
||||
.param p1 # Landroidx/lifecycle/ViewModel;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/AbstractSavedStateViewModelFactory;->mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
invoke-static {p1, v0, v1}, Landroidx/lifecycle/SavedStateHandleController;->attachHandleIfNeeded(Landroidx/lifecycle/ViewModel;Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -30,11 +30,9 @@
|
|||
|
||||
iput-object p2, p0, Landroidx/lifecycle/ClassesInfoCache$MethodReference;->mMethod:Ljava/lang/reflect/Method;
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/ClassesInfoCache$MethodReference;->mMethod:Ljava/lang/reflect/Method;
|
||||
const/4 p1, 0x1
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
invoke-virtual {p1, p2}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
||||
invoke-virtual {p2, p1}, Ljava/lang/reflect/Method;->setAccessible(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -27,7 +27,8 @@
|
|||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Class;",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;",
|
||||
"Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;",
|
||||
">;"
|
||||
}
|
||||
|
@ -38,7 +39,8 @@
|
|||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Class;",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;",
|
||||
"Ljava/lang/Boolean;",
|
||||
">;"
|
||||
}
|
||||
|
@ -85,6 +87,16 @@
|
|||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;[",
|
||||
"Ljava/lang/reflect/Method;",
|
||||
")",
|
||||
"Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;
|
||||
|
||||
|
@ -104,7 +116,7 @@
|
|||
|
||||
iget-object v0, v0, Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;->mHandlerToEvent:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v1, v0}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
|
||||
invoke-virtual {v1, v0}, Ljava/util/HashMap;->putAll(Ljava/util/Map;)V
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p1}, Ljava/lang/Class;->getInterfaces()[Ljava/lang/Class;
|
||||
|
@ -338,6 +350,14 @@
|
|||
|
||||
.method private getDeclaredMethods(Ljava/lang/Class;)[Ljava/lang/reflect/Method;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;)[",
|
||||
"Ljava/lang/reflect/Method;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
:try_start_0
|
||||
invoke-virtual {p1}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;
|
||||
|
@ -371,8 +391,8 @@
|
|||
">;",
|
||||
"Landroidx/lifecycle/ClassesInfoCache$MethodReference;",
|
||||
"Landroidx/lifecycle/Lifecycle$Event;",
|
||||
"Ljava/lang/Class;",
|
||||
")V"
|
||||
"Ljava/lang/Class<",
|
||||
"*>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
@ -395,7 +415,7 @@
|
|||
|
||||
const-string v1, "Method "
|
||||
|
||||
invoke-static {v1}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
|
@ -449,6 +469,14 @@
|
|||
# virtual methods
|
||||
.method public getInfo(Ljava/lang/Class;)Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;)",
|
||||
"Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ClassesInfoCache;->mCallbackMap:Ljava/util/Map;
|
||||
|
||||
|
@ -474,6 +502,13 @@
|
|||
|
||||
.method public hasLifecycleMethods(Ljava/lang/Class;)Z
|
||||
.locals 6
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;)Z"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ClassesInfoCache;->mHasLifecycleMethods:Ljava/util/Map;
|
||||
|
||||
|
@ -531,9 +566,7 @@
|
|||
:cond_2
|
||||
iget-object v0, p0, Landroidx/lifecycle/ClassesInfoCache;->mHasLifecycleMethods:Ljava/util/Map;
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||||
|
||||
move-result-object v1
|
||||
sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
|
||||
|
||||
invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
.class public final Landroidx/lifecycle/CloseableCoroutineScope;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewModel.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/io/Closeable;
|
||||
.implements Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final coroutineContext:Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/CloseableCoroutineScope;->coroutineContext:Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public close()V
|
||||
.locals 3
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/CloseableCoroutineScope;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-static {v0, v1, v2, v1}, Lj0/i/u;->p(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/CloseableCoroutineScope;->coroutineContext:Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -25,6 +25,14 @@
|
|||
# virtual methods
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 6
|
||||
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/MethodCallsLogger;
|
||||
|
||||
|
|
|
@ -44,11 +44,11 @@
|
|||
|
||||
iget-object v0, v0, Landroidx/lifecycle/ComputableLiveData;->mComputing:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
const/4 v1, 0x1
|
||||
const/4 v1, 0x0
|
||||
|
||||
const/4 v2, 0x0
|
||||
const/4 v2, 0x1
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||||
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
|
@ -56,9 +56,7 @@
|
|||
|
||||
const/4 v0, 0x0
|
||||
|
||||
move-object v3, v0
|
||||
|
||||
const/4 v0, 0x0
|
||||
const/4 v3, 0x0
|
||||
|
||||
:goto_0
|
||||
:try_start_0
|
||||
|
@ -66,7 +64,7 @@
|
|||
|
||||
iget-object v4, v4, Landroidx/lifecycle/ComputableLiveData;->mInvalid:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
invoke-virtual {v4, v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||||
invoke-virtual {v4, v2, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||||
|
||||
move-result v4
|
||||
|
||||
|
@ -76,48 +74,48 @@
|
|||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/ComputableLiveData;->compute()Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
move-result-object v0
|
||||
|
||||
const/4 v0, 0x1
|
||||
const/4 v3, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
if-eqz v0, :cond_2
|
||||
if-eqz v3, :cond_2
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/ComputableLiveData$2;->this$0:Landroidx/lifecycle/ComputableLiveData;
|
||||
iget-object v2, p0, Landroidx/lifecycle/ComputableLiveData$2;->this$0:Landroidx/lifecycle/ComputableLiveData;
|
||||
|
||||
iget-object v1, v1, Landroidx/lifecycle/ComputableLiveData;->mLiveData:Landroidx/lifecycle/LiveData;
|
||||
iget-object v2, v2, Landroidx/lifecycle/ComputableLiveData;->mLiveData:Landroidx/lifecycle/LiveData;
|
||||
|
||||
invoke-virtual {v1, v3}, Landroidx/lifecycle/LiveData;->postValue(Ljava/lang/Object;)V
|
||||
invoke-virtual {v2, v0}, Landroidx/lifecycle/LiveData;->postValue(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
:cond_2
|
||||
iget-object v1, p0, Landroidx/lifecycle/ComputableLiveData$2;->this$0:Landroidx/lifecycle/ComputableLiveData;
|
||||
iget-object v0, p0, Landroidx/lifecycle/ComputableLiveData$2;->this$0:Landroidx/lifecycle/ComputableLiveData;
|
||||
|
||||
iget-object v1, v1, Landroidx/lifecycle/ComputableLiveData;->mComputing:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
iget-object v0, v0, Landroidx/lifecycle/ComputableLiveData;->mComputing:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
|
||||
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
|
||||
|
||||
move v1, v3
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/ComputableLiveData$2;->this$0:Landroidx/lifecycle/ComputableLiveData;
|
||||
iget-object v2, p0, Landroidx/lifecycle/ComputableLiveData$2;->this$0:Landroidx/lifecycle/ComputableLiveData;
|
||||
|
||||
iget-object v1, v1, Landroidx/lifecycle/ComputableLiveData;->mComputing:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
iget-object v2, v2, Landroidx/lifecycle/ComputableLiveData;->mComputing:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
|
||||
invoke-virtual {v2, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_1
|
||||
if-eqz v0, :cond_4
|
||||
if-eqz v1, :cond_4
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ComputableLiveData$2;->this$0:Landroidx/lifecycle/ComputableLiveData;
|
||||
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
.class public final Landroidx/lifecycle/DispatchQueue$runOrEnqueue$$inlined$with$lambda$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DispatchQueue.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/DispatchQueue;->runOrEnqueue(Ljava/lang/Runnable;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $runnable$inlined:Ljava/lang/Runnable;
|
||||
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/DispatchQueue;Ljava/lang/Runnable;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/DispatchQueue$runOrEnqueue$$inlined$with$lambda$1;->this$0:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/DispatchQueue$runOrEnqueue$$inlined$with$lambda$1;->$runnable$inlined:Ljava/lang/Runnable;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final run()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/DispatchQueue$runOrEnqueue$$inlined$with$lambda$1;->this$0:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/DispatchQueue$runOrEnqueue$$inlined$with$lambda$1;->$runnable$inlined:Ljava/lang/Runnable;
|
||||
|
||||
invoke-static {v0, v1}, Landroidx/lifecycle/DispatchQueue;->access$enqueue(Landroidx/lifecycle/DispatchQueue;Ljava/lang/Runnable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
301
com.discord/smali/androidx/lifecycle/DispatchQueue.smali
Normal file
301
com.discord/smali/androidx/lifecycle/DispatchQueue.smali
Normal file
|
@ -0,0 +1,301 @@
|
|||
.class public final Landroidx/lifecycle/DispatchQueue;
|
||||
.super Ljava/lang/Object;
|
||||
.source "DispatchQueue.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public finished:Z
|
||||
|
||||
.field public isDraining:Z
|
||||
|
||||
.field public paused:Z
|
||||
|
||||
.field public final queue:Ljava/util/Queue;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Queue<",
|
||||
"Ljava/lang/Runnable;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->paused:Z
|
||||
|
||||
new-instance v0, Ljava/util/ArrayDeque;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/DispatchQueue;->queue:Ljava/util/Queue;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$enqueue(Landroidx/lifecycle/DispatchQueue;Ljava/lang/Runnable;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/lifecycle/DispatchQueue;->enqueue(Ljava/lang/Runnable;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final canRun()Z
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->finished:Z
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->paused:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
:goto_1
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method private final enqueue(Ljava/lang/Runnable;)V
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/DispatchQueue;->queue:Ljava/util/Queue;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/DispatchQueue;->drainQueue()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "cannot enqueue any more runnables"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final drainQueue()V
|
||||
.locals 3
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->isDraining:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:try_start_0
|
||||
iput-boolean v1, p0, Landroidx/lifecycle/DispatchQueue;->isDraining:Z
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
iget-object v2, p0, Landroidx/lifecycle/DispatchQueue;->queue:Ljava/util/Queue;
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Collection;->isEmpty()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
xor-int/2addr v2, v1
|
||||
|
||||
if-eqz v2, :cond_3
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/DispatchQueue;->canRun()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-nez v2, :cond_2
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
iget-object v2, p0, Landroidx/lifecycle/DispatchQueue;->queue:Ljava/util/Queue;
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Queue;->poll()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/lang/Runnable;
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
invoke-interface {v2}, Ljava/lang/Runnable;->run()V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_3
|
||||
:goto_1
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->isDraining:Z
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception v1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->isDraining:Z
|
||||
|
||||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final finish()V
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->finished:Z
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/DispatchQueue;->drainQueue()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final pause()V
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->paused:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public final resume()V
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->paused:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->finished:Z
|
||||
|
||||
xor-int/lit8 v0, v0, 0x1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/DispatchQueue;->paused:Z
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/DispatchQueue;->drainQueue()V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Cannot resume a finished dispatcher"
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final runOrEnqueue(Ljava/lang/Runnable;)V
|
||||
.locals 3
|
||||
.annotation build Landroid/annotation/SuppressLint;
|
||||
value = {
|
||||
"WrongThread"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/AnyThread;
|
||||
.end annotation
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-static {}, Lk0/a/l0;->a()Lk0/a/i1;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lk0/a/i1;->s()Lk0/a/i1;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Lj0/k/f;->d:Lj0/k/f;
|
||||
|
||||
invoke-virtual {v0, v1}, Lk0/a/x;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
|
||||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
sget-object v1, Lj0/k/f;->d:Lj0/k/f;
|
||||
|
||||
new-instance v2, Landroidx/lifecycle/DispatchQueue$runOrEnqueue$$inlined$with$lambda$1;
|
||||
|
||||
invoke-direct {v2, p0, p1}, Landroidx/lifecycle/DispatchQueue$runOrEnqueue$$inlined$with$lambda$1;-><init>(Landroidx/lifecycle/DispatchQueue;Ljava/lang/Runnable;)V
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lk0/a/x;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-direct {p0, p1}, Landroidx/lifecycle/DispatchQueue;->enqueue(Ljava/lang/Runnable;)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const-string p1, "runnable"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -1,60 +0,0 @@
|
|||
.class public Landroidx/lifecycle/EmptyActivityLifecycleCallbacks;
|
||||
.super Ljava/lang/Object;
|
||||
.source "EmptyActivityLifecycleCallbacks.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/app/Application$ActivityLifecycleCallbacks;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityDestroyed(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPaused(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityResumed(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStarted(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStopped(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 3
|
||||
.locals 4
|
||||
|
||||
invoke-static {}, Landroidx/lifecycle/Lifecycle$Event;->values()[Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
|
@ -32,114 +32,86 @@
|
|||
|
||||
sput-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
:try_start_0
|
||||
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v1, v0, v2
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:catch_0
|
||||
const/4 v0, 0x2
|
||||
|
||||
:try_start_1
|
||||
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v2, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v3, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v0, v2, v1
|
||||
:try_end_1
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
:catch_1
|
||||
const/4 v1, 0x3
|
||||
|
||||
:try_start_2
|
||||
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v2, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v3, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v1, v2, v0
|
||||
:try_end_2
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2
|
||||
|
||||
:catch_2
|
||||
const/4 v0, 0x4
|
||||
|
||||
:try_start_3
|
||||
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v2, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v3, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x4
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v0, v2, v1
|
||||
:try_end_3
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3
|
||||
|
||||
:catch_3
|
||||
const/4 v1, 0x5
|
||||
|
||||
:try_start_4
|
||||
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v2, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v3, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x5
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v1, v2, v0
|
||||
:try_end_4
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_4
|
||||
|
||||
:catch_4
|
||||
const/4 v0, 0x6
|
||||
|
||||
:try_start_5
|
||||
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v2, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v3, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v0, v2, v1
|
||||
:try_end_5
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_5
|
||||
|
||||
:catch_5
|
||||
:try_start_6
|
||||
sget-object v0, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v1, Landroidx/lifecycle/FullLifecycleObserverAdapter$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v2, 0x7
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v2, v1, v0
|
||||
:try_end_6
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_6
|
||||
|
||||
|
|
|
@ -29,6 +29,14 @@
|
|||
# virtual methods
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 1
|
||||
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-virtual {p2}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
.class public interface abstract Landroidx/lifecycle/HasDefaultViewModelProviderFactory;
|
||||
.super Ljava/lang/Object;
|
||||
.source "HasDefaultViewModelProviderFactory.java"
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract getDefaultViewModelProviderFactory()Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end method
|
|
@ -42,111 +42,109 @@
|
|||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 9
|
||||
.locals 10
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v1, 0x0
|
||||
const-string v1, "ON_CREATE"
|
||||
|
||||
const-string v2, "ON_CREATE"
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v0, v2, v1}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v2, 0x1
|
||||
const-string v1, "ON_START"
|
||||
|
||||
const-string v3, "ON_START"
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v0, v3, v2}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v3}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v3, 0x2
|
||||
const-string v1, "ON_RESUME"
|
||||
|
||||
const-string v4, "ON_RESUME"
|
||||
const/4 v4, 0x2
|
||||
|
||||
invoke-direct {v0, v4, v3}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v4}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v4, 0x3
|
||||
const-string v1, "ON_PAUSE"
|
||||
|
||||
const-string v5, "ON_PAUSE"
|
||||
const/4 v5, 0x3
|
||||
|
||||
invoke-direct {v0, v5, v4}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v5}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v5, 0x4
|
||||
const-string v1, "ON_STOP"
|
||||
|
||||
const-string v6, "ON_STOP"
|
||||
const/4 v6, 0x4
|
||||
|
||||
invoke-direct {v0, v6, v5}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v6}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v6, 0x5
|
||||
const-string v1, "ON_DESTROY"
|
||||
|
||||
const-string v7, "ON_DESTROY"
|
||||
const/4 v7, 0x5
|
||||
|
||||
invoke-direct {v0, v7, v6}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v7}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v7, 0x6
|
||||
const-string v1, "ON_ANY"
|
||||
|
||||
const-string v8, "ON_ANY"
|
||||
const/4 v8, 0x6
|
||||
|
||||
invoke-direct {v0, v8, v7}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v8}, Landroidx/lifecycle/Lifecycle$Event;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v0, 0x7
|
||||
const/4 v1, 0x7
|
||||
|
||||
new-array v0, v0, [Landroidx/lifecycle/Lifecycle$Event;
|
||||
new-array v1, v1, [Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
sget-object v8, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v9, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
aput-object v8, v0, v1
|
||||
aput-object v9, v1, v2
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
aput-object v1, v0, v2
|
||||
aput-object v2, v1, v3
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
aput-object v2, v1, v4
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
aput-object v1, v0, v4
|
||||
aput-object v2, v1, v5
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
aput-object v1, v0, v5
|
||||
aput-object v2, v1, v6
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
aput-object v1, v0, v6
|
||||
aput-object v2, v1, v7
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
aput-object v0, v1, v8
|
||||
|
||||
aput-object v1, v0, v7
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$Event;->$VALUES:[Landroidx/lifecycle/Lifecycle$Event;
|
||||
sput-object v1, Landroidx/lifecycle/Lifecycle$Event;->$VALUES:[Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -38,83 +38,81 @@
|
|||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 7
|
||||
.locals 8
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
const/4 v1, 0x0
|
||||
const-string v1, "DESTROYED"
|
||||
|
||||
const-string v2, "DESTROYED"
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v0, v2, v1}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v2}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
const/4 v2, 0x1
|
||||
const-string v1, "INITIALIZED"
|
||||
|
||||
const-string v3, "INITIALIZED"
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-direct {v0, v3, v2}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v3}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
const/4 v3, 0x2
|
||||
const-string v1, "CREATED"
|
||||
|
||||
const-string v4, "CREATED"
|
||||
const/4 v4, 0x2
|
||||
|
||||
invoke-direct {v0, v4, v3}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v4}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
const/4 v4, 0x3
|
||||
const-string v1, "STARTED"
|
||||
|
||||
const-string v5, "STARTED"
|
||||
const/4 v5, 0x3
|
||||
|
||||
invoke-direct {v0, v5, v4}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v5}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
const/4 v5, 0x4
|
||||
const-string v1, "RESUMED"
|
||||
|
||||
const-string v6, "RESUMED"
|
||||
const/4 v6, 0x4
|
||||
|
||||
invoke-direct {v0, v6, v5}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
invoke-direct {v0, v1, v6}, Landroidx/lifecycle/Lifecycle$State;-><init>(Ljava/lang/String;I)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
const/4 v0, 0x5
|
||||
const/4 v1, 0x5
|
||||
|
||||
new-array v0, v0, [Landroidx/lifecycle/Lifecycle$State;
|
||||
new-array v1, v1, [Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
sget-object v6, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
sget-object v7, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
aput-object v6, v0, v1
|
||||
aput-object v7, v1, v2
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
aput-object v1, v0, v2
|
||||
aput-object v2, v1, v3
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
aput-object v1, v0, v3
|
||||
aput-object v2, v1, v4
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
aput-object v1, v0, v4
|
||||
aput-object v2, v1, v5
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
|
||||
aput-object v0, v1, v6
|
||||
|
||||
aput-object v1, v0, v5
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/Lifecycle$State;->$VALUES:[Landroidx/lifecycle/Lifecycle$State;
|
||||
sput-object v1, Landroidx/lifecycle/Lifecycle$State;->$VALUES:[Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -0,0 +1,136 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleController$observer$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LifecycleController.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/LifecycleController;-><init>(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/DispatchQueue;Lkotlinx/coroutines/Job;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $parentJob:Lkotlinx/coroutines/Job;
|
||||
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/LifecycleController;Lkotlinx/coroutines/Job;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleController$observer$1;->this$0:Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/LifecycleController$observer$1;->$parentJob:Lkotlinx/coroutines/Job;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 3
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
invoke-interface {p1}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-string v1, "source.lifecycle"
|
||||
|
||||
invoke-static {p2, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p2}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
if-ne p2, v2, :cond_0
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleController$observer$1;->this$0:Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
iget-object p2, p0, Landroidx/lifecycle/LifecycleController$observer$1;->$parentJob:Lkotlinx/coroutines/Job;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-static {p2, v0, v1, v0}, Lj0/i/u;->q(Lkotlinx/coroutines/Job;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/LifecycleController;->finish()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-interface {p1}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object p2, p0, Landroidx/lifecycle/LifecycleController$observer$1;->this$0:Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
invoke-static {p2}, Landroidx/lifecycle/LifecycleController;->access$getMinState$p(Landroidx/lifecycle/LifecycleController;)Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1, p2}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
if-gez p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleController$observer$1;->this$0:Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
invoke-static {p1}, Landroidx/lifecycle/LifecycleController;->access$getDispatchQueue$p(Landroidx/lifecycle/LifecycleController;)Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/DispatchQueue;->pause()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleController$observer$1;->this$0:Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
invoke-static {p1}, Landroidx/lifecycle/LifecycleController;->access$getDispatchQueue$p(Landroidx/lifecycle/LifecycleController;)Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/DispatchQueue;->resume()V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
const-string p1, "<anonymous parameter 1>"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
162
com.discord/smali/androidx/lifecycle/LifecycleController.smali
Normal file
162
com.discord/smali/androidx/lifecycle/LifecycleController.smali
Normal file
|
@ -0,0 +1,162 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleController;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LifecycleController.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
.field public final lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
.field public final minState:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
.field public final observer:Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/DispatchQueue;Lkotlinx/coroutines/Job;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
if-eqz p2, :cond_3
|
||||
|
||||
if-eqz p3, :cond_2
|
||||
|
||||
if-eqz p4, :cond_1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleController;->lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/LifecycleController;->minState:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
iput-object p3, p0, Landroidx/lifecycle/LifecycleController;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
new-instance p1, Landroidx/lifecycle/LifecycleController$observer$1;
|
||||
|
||||
invoke-direct {p1, p0, p4}, Landroidx/lifecycle/LifecycleController$observer$1;-><init>(Landroidx/lifecycle/LifecycleController;Lkotlinx/coroutines/Job;)V
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleController;->observer:Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleController;->lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object p2, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
if-ne p1, p2, :cond_0
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
invoke-static {p4, v0, p1, v0}, Lj0/i/u;->q(Lkotlinx/coroutines/Job;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/LifecycleController;->finish()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleController;->lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iget-object p2, p0, Landroidx/lifecycle/LifecycleController;->observer:Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/Lifecycle;->addObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const-string p1, "parentJob"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "dispatchQueue"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
const-string p1, "minState"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_4
|
||||
const-string p1, "lifecycle"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$getDispatchQueue$p(Landroidx/lifecycle/LifecycleController;)Landroidx/lifecycle/DispatchQueue;
|
||||
.locals 0
|
||||
|
||||
iget-object p0, p0, Landroidx/lifecycle/LifecycleController;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$getMinState$p(Landroidx/lifecycle/LifecycleController;)Landroidx/lifecycle/Lifecycle$State;
|
||||
.locals 0
|
||||
|
||||
iget-object p0, p0, Landroidx/lifecycle/LifecycleController;->minState:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic access$handleDestroy(Landroidx/lifecycle/LifecycleController;Lkotlinx/coroutines/Job;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/lifecycle/LifecycleController;->handleDestroy(Lkotlinx/coroutines/Job;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private final handleDestroy(Lkotlinx/coroutines/Job;)V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-static {p1, v0, v1, v0}, Lj0/i/u;->q(Lkotlinx/coroutines/Job;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/LifecycleController;->finish()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final finish()V
|
||||
.locals 2
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleController;->lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleController;->observer:Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/lifecycle/Lifecycle;->removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleController;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/DispatchQueue;->finish()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,192 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;
|
||||
.super Lj0/k/i/a/g;
|
||||
.source "Lifecycle.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/LifecycleCoroutineScope;->launchWhenCreated(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/k/i/a/g;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-",
|
||||
"Lkotlin/Unit;",
|
||||
">;",
|
||||
"Ljava/lang/Object;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lj0/k/i/a/d;
|
||||
c = "androidx.lifecycle.LifecycleCoroutineScope$launchWhenCreated$1"
|
||||
f = "Lifecycle.kt"
|
||||
l = {
|
||||
0x4a
|
||||
}
|
||||
m = "invokeSuspend"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
.field public L$0:Ljava/lang/Object;
|
||||
|
||||
.field public label:I
|
||||
|
||||
.field public p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
const/4 p1, 0x2
|
||||
|
||||
invoke-direct {p0, p1, p3}, Lj0/k/i/a/g;-><init>(ILkotlin/coroutines/Continuation;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Object;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"*>;)",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
iget-object v2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
invoke-direct {v0, v1, v2, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iput-object p1, v0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "completion"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p2, Lkotlin/coroutines/Continuation;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;
|
||||
|
||||
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 4
|
||||
|
||||
sget-object v0, Lj0/k/h/a;->d:Lj0/k/h/a;
|
||||
|
||||
iget v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->label:I
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->L$0:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/lifecycle/LifecycleCoroutineScope;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v3, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->L$0:Ljava/lang/Object;
|
||||
|
||||
iput v2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;->label:I
|
||||
|
||||
invoke-static {v1, v3, p0}, Landroidx/lifecycle/PausingDispatcherKt;->whenCreated(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-ne p1, v0, :cond_2
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,192 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;
|
||||
.super Lj0/k/i/a/g;
|
||||
.source "Lifecycle.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/LifecycleCoroutineScope;->launchWhenResumed(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/k/i/a/g;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-",
|
||||
"Lkotlin/Unit;",
|
||||
">;",
|
||||
"Ljava/lang/Object;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lj0/k/i/a/d;
|
||||
c = "androidx.lifecycle.LifecycleCoroutineScope$launchWhenResumed$1"
|
||||
f = "Lifecycle.kt"
|
||||
l = {
|
||||
0x63
|
||||
}
|
||||
m = "invokeSuspend"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
.field public L$0:Ljava/lang/Object;
|
||||
|
||||
.field public label:I
|
||||
|
||||
.field public p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
const/4 p1, 0x2
|
||||
|
||||
invoke-direct {p0, p1, p3}, Lj0/k/i/a/g;-><init>(ILkotlin/coroutines/Continuation;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Object;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"*>;)",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
iget-object v2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
invoke-direct {v0, v1, v2, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iput-object p1, v0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "completion"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p2, Lkotlin/coroutines/Continuation;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;
|
||||
|
||||
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 4
|
||||
|
||||
sget-object v0, Lj0/k/h/a;->d:Lj0/k/h/a;
|
||||
|
||||
iget v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->label:I
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->L$0:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/lifecycle/LifecycleCoroutineScope;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v3, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->L$0:Ljava/lang/Object;
|
||||
|
||||
iput v2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->label:I
|
||||
|
||||
invoke-static {v1, v3, p0}, Landroidx/lifecycle/PausingDispatcherKt;->whenResumed(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-ne p1, v0, :cond_2
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,192 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;
|
||||
.super Lj0/k/i/a/g;
|
||||
.source "Lifecycle.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/LifecycleCoroutineScope;->launchWhenStarted(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/k/i/a/g;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-",
|
||||
"Lkotlin/Unit;",
|
||||
">;",
|
||||
"Ljava/lang/Object;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lj0/k/i/a/d;
|
||||
c = "androidx.lifecycle.LifecycleCoroutineScope$launchWhenStarted$1"
|
||||
f = "Lifecycle.kt"
|
||||
l = {
|
||||
0x57
|
||||
}
|
||||
m = "invokeSuspend"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
.field public L$0:Ljava/lang/Object;
|
||||
|
||||
.field public label:I
|
||||
|
||||
.field public p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
const/4 p1, 0x2
|
||||
|
||||
invoke-direct {p0, p1, p3}, Lj0/k/i/a/g;-><init>(ILkotlin/coroutines/Continuation;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Object;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"*>;)",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
iget-object v2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
invoke-direct {v0, v1, v2, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iput-object p1, v0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "completion"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p2, Lkotlin/coroutines/Continuation;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;
|
||||
|
||||
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 4
|
||||
|
||||
sget-object v0, Lj0/k/h/a;->d:Lj0/k/h/a;
|
||||
|
||||
iget v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->label:I
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->L$0:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
invoke-virtual {v1}, Landroidx/lifecycle/LifecycleCoroutineScope;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
iget-object v3, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->L$0:Ljava/lang/Object;
|
||||
|
||||
iput v2, p0, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;->label:I
|
||||
|
||||
invoke-static {v1, v3, p0}, Landroidx/lifecycle/PausingDispatcherKt;->whenStarted(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-ne p1, v0, :cond_2
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
:goto_0
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
.end method
|
|
@ -0,0 +1,177 @@
|
|||
.class public abstract Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Lifecycle.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public abstract synthetic getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
.end method
|
||||
|
||||
.method public abstract getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
.end method
|
||||
|
||||
.method public final launchWhenCreated(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-",
|
||||
"Lkotlin/Unit;",
|
||||
">;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;)",
|
||||
"Lkotlinx/coroutines/Job;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
new-instance v4, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;
|
||||
|
||||
invoke-direct {v4, p0, p1, v0}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenCreated$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lj0/i/u;->F(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lk0/a/b0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "block"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final launchWhenResumed(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-",
|
||||
"Lkotlin/Unit;",
|
||||
">;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;)",
|
||||
"Lkotlinx/coroutines/Job;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
new-instance v4, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;
|
||||
|
||||
invoke-direct {v4, p0, p1, v0}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lj0/i/u;->F(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lk0/a/b0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "block"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final launchWhenStarted(Lkotlin/jvm/functions/Function2;)Lkotlinx/coroutines/Job;
|
||||
.locals 7
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-",
|
||||
"Lkotlin/Unit;",
|
||||
">;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;)",
|
||||
"Lkotlinx/coroutines/Job;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
new-instance v4, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;
|
||||
|
||||
invoke-direct {v4, p0, p1, v0}, Landroidx/lifecycle/LifecycleCoroutineScope$launchWhenStarted$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
const/4 v5, 0x3
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lj0/i/u;->F(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lk0/a/b0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
const-string p1, "block"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -0,0 +1,187 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;
|
||||
.super Lj0/k/i/a/g;
|
||||
.source "Lifecycle.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->register()V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/k/i/a/g;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-",
|
||||
"Lkotlin/Unit;",
|
||||
">;",
|
||||
"Ljava/lang/Object;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lj0/k/i/a/d;
|
||||
c = "androidx.lifecycle.LifecycleCoroutineScopeImpl$register$1"
|
||||
f = "Lifecycle.kt"
|
||||
l = {}
|
||||
m = "invokeSuspend"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public label:I
|
||||
|
||||
.field public p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/LifecycleCoroutineScopeImpl;Lkotlin/coroutines/Continuation;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
const/4 p1, 0x2
|
||||
|
||||
invoke-direct {p0, p1, p2}, Lj0/k/i/a/g;-><init>(ILkotlin/coroutines/Continuation;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Object;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"*>;)",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
invoke-direct {v0, v1, p2}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScopeImpl;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iput-object p1, v0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "completion"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p2, Lkotlin/coroutines/Continuation;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;
|
||||
|
||||
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->label:I
|
||||
|
||||
if-nez v0, :cond_1
|
||||
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
if-ltz v0, :cond_0
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;->this$0:Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/lifecycle/Lifecycle;->addObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-interface {p1}, Lkotlinx/coroutines/CoroutineScope;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-static {p1, v1, v0, v1}, Lj0/i/u;->p(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
||||
|
||||
:goto_0
|
||||
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -0,0 +1,172 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
.super Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
.source "Lifecycle.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final coroutineContext:Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
.field public final lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/Lifecycle;Lkotlin/coroutines/CoroutineContext;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/LifecycleCoroutineScope;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->coroutineContext:Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object p2, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
if-ne p1, p2, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
invoke-static {p1, v0, p2, v0}, Lj0/i/u;->p(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const-string p1, "coroutineContext"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "lifecycle"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->coroutineContext:Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object p2, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {p1, p2}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I
|
||||
|
||||
move-result p1
|
||||
|
||||
if-gtz p1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->getLifecycle$lifecycle_runtime_ktx_release()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1, p0}, Landroidx/lifecycle/Lifecycle;->removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
invoke-static {p1, v0, p2, v0}, Lj0/i/u;->p(Lkotlin/coroutines/CoroutineContext;Ljava/util/concurrent/CancellationException;ILjava/lang/Object;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
const-string p1, "event"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "source"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public final register()V
|
||||
.locals 7
|
||||
|
||||
invoke-static {}, Lk0/a/l0;->a()Lk0/a/i1;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lk0/a/i1;->s()Lk0/a/i1;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
new-instance v4, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {v4, p0, v0}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl$register$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScopeImpl;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v5, 0x2
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
move-object v1, p0
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lj0/i/u;->F(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lk0/a/b0;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,49 +0,0 @@
|
|||
.class public Landroidx/lifecycle/LifecycleDispatcher$DispatcherActivityCallback;
|
||||
.super Landroidx/lifecycle/EmptyActivityLifecycleCallbacks;
|
||||
.source "LifecycleDispatcher.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Landroidx/annotation/VisibleForTesting;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/LifecycleDispatcher;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "DispatcherActivityCallback"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/EmptyActivityLifecycleCallbacks;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p1}, Landroidx/lifecycle/ReportFragment;->injectIfNeededIn(Landroid/app/Activity;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStopped(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,70 +0,0 @@
|
|||
.class public Landroidx/lifecycle/LifecycleDispatcher;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LifecycleDispatcher.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/lifecycle/LifecycleDispatcher$DispatcherActivityCallback;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static sInitialized:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/LifecycleDispatcher;->sInitialized:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static init(Landroid/content/Context;)V
|
||||
.locals 2
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/LifecycleDispatcher;->sInitialized:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->getAndSet(Z)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Landroid/app/Application;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/LifecycleDispatcher$DispatcherActivityCallback;
|
||||
|
||||
invoke-direct {v0}, Landroidx/lifecycle/LifecycleDispatcher$DispatcherActivityCallback;-><init>()V
|
||||
|
||||
invoke-virtual {p0, v0}, Landroid/app/Application;->registerActivityLifecycleCallbacks(Landroid/app/Application$ActivityLifecycleCallbacks;)V
|
||||
|
||||
return-void
|
||||
.end method
|
66
com.discord/smali/androidx/lifecycle/LifecycleKt.smali
Normal file
66
com.discord/smali/androidx/lifecycle/LifecycleKt.smali
Normal file
|
@ -0,0 +1,66 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleKt;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Lifecycle.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final getCoroutineScope(Landroidx/lifecycle/Lifecycle;)Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p0, :cond_2
|
||||
|
||||
:cond_0
|
||||
iget-object v1, p0, Landroidx/lifecycle/Lifecycle;->mInternalScopeRef:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_1
|
||||
new-instance v1, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;
|
||||
|
||||
new-instance v2, Lk0/a/q1;
|
||||
|
||||
invoke-direct {v2, v0}, Lk0/a/q1;-><init>(Lkotlinx/coroutines/Job;)V
|
||||
|
||||
invoke-static {}, Lk0/a/l0;->a()Lk0/a/i1;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v3}, Lk0/a/i1;->s()Lk0/a/i1;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v2, v3}, Lk0/a/f1;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {v1, p0, v2}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;-><init>(Landroidx/lifecycle/Lifecycle;Lkotlin/coroutines/CoroutineContext;)V
|
||||
|
||||
iget-object v2, p0, Landroidx/lifecycle/Lifecycle;->mInternalScopeRef:Ljava/util/concurrent/atomic/AtomicReference;
|
||||
|
||||
invoke-virtual {v2, v0, v1}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
invoke-virtual {v1}, Landroidx/lifecycle/LifecycleCoroutineScopeImpl;->register()V
|
||||
|
||||
return-object v1
|
||||
|
||||
:cond_2
|
||||
const-string p0, "$this$coroutineScope"
|
||||
|
||||
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
34
com.discord/smali/androidx/lifecycle/LifecycleOwnerKt.smali
Normal file
34
com.discord/smali/androidx/lifecycle/LifecycleOwnerKt.smali
Normal file
|
@ -0,0 +1,34 @@
|
|||
.class public final Landroidx/lifecycle/LifecycleOwnerKt;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LifecycleOwner.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final getLifecycleScope(Landroidx/lifecycle/LifecycleOwner;)Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
.locals 1
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v0, "lifecycle"
|
||||
|
||||
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0}, Landroidx/lifecycle/LifecycleKt;->getCoroutineScope(Landroidx/lifecycle/Lifecycle;)Landroidx/lifecycle/LifecycleCoroutineScope;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
const-string p0, "$this$lifecycleScope"
|
||||
|
||||
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p0, 0x0
|
||||
|
||||
throw p0
|
||||
.end method
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 7
|
||||
.locals 8
|
||||
|
||||
invoke-static {}, Landroidx/lifecycle/Lifecycle$State;->values()[Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
|
@ -34,34 +34,24 @@
|
|||
|
||||
sput-object v0, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$State:[I
|
||||
|
||||
const/4 v0, 0x1
|
||||
const/4 v1, 0x1
|
||||
|
||||
:try_start_0
|
||||
sget-object v1, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$State:[I
|
||||
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v2
|
||||
|
||||
aput v0, v1, v2
|
||||
aput v1, v0, v1
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
:catch_0
|
||||
const/4 v1, 0x2
|
||||
const/4 v0, 0x2
|
||||
|
||||
:try_start_1
|
||||
sget-object v2, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$State:[I
|
||||
|
||||
sget-object v3, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v3
|
||||
|
||||
aput v1, v2, v3
|
||||
aput v0, v2, v0
|
||||
:try_end_1
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
|
@ -73,11 +63,7 @@
|
|||
|
||||
sget-object v4, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {v4}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v4
|
||||
|
||||
aput v2, v3, v4
|
||||
aput v2, v3, v2
|
||||
:try_end_2
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2
|
||||
|
||||
|
@ -89,139 +75,103 @@
|
|||
|
||||
sget-object v5, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v5
|
||||
|
||||
aput v3, v4, v5
|
||||
aput v3, v4, v3
|
||||
:try_end_3
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3
|
||||
|
||||
:catch_3
|
||||
const/4 v4, 0x5
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x5
|
||||
|
||||
:try_start_4
|
||||
sget-object v5, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$State:[I
|
||||
sget-object v6, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$State:[I
|
||||
|
||||
sget-object v6, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
sget-object v7, Landroidx/lifecycle/Lifecycle$State;->DESTROYED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {v6}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v6
|
||||
|
||||
aput v4, v5, v6
|
||||
aput v5, v6, v4
|
||||
:try_end_4
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_4
|
||||
|
||||
:catch_4
|
||||
invoke-static {}, Landroidx/lifecycle/Lifecycle$Event;->values()[Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
move-result-object v5
|
||||
move-result-object v6
|
||||
|
||||
array-length v5, v5
|
||||
array-length v6, v6
|
||||
|
||||
new-array v5, v5, [I
|
||||
new-array v6, v6, [I
|
||||
|
||||
sput-object v5, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sput-object v6, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
:try_start_5
|
||||
sget-object v5, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v7, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
sget-object v6, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v6}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v6
|
||||
|
||||
aput v0, v5, v6
|
||||
aput v1, v6, v4
|
||||
:try_end_5
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_5
|
||||
|
||||
:catch_5
|
||||
:try_start_6
|
||||
sget-object v0, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v4, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v5, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v6, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v5}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v5
|
||||
|
||||
aput v1, v0, v5
|
||||
aput v0, v4, v3
|
||||
:try_end_6
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_6
|
||||
|
||||
:catch_6
|
||||
:try_start_7
|
||||
sget-object v0, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v4, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v6, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v2, v4, v1
|
||||
:try_end_7
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_7 .. :try_end_7} :catch_7
|
||||
|
||||
:catch_7
|
||||
:try_start_8
|
||||
sget-object v0, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v1, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v4, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
aput v3, v0, v1
|
||||
aput v3, v1, v2
|
||||
:try_end_8
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_8 .. :try_end_8} :catch_8
|
||||
|
||||
:catch_8
|
||||
:try_start_9
|
||||
sget-object v0, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v1, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
aput v4, v0, v1
|
||||
aput v5, v1, v0
|
||||
:try_end_9
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_9 .. :try_end_9} :catch_9
|
||||
|
||||
:catch_9
|
||||
const/4 v0, 0x6
|
||||
|
||||
:try_start_a
|
||||
sget-object v0, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v1, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v0, v1, v5
|
||||
:try_end_a
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_a .. :try_end_a} :catch_a
|
||||
|
||||
:catch_a
|
||||
:try_start_b
|
||||
sget-object v0, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
sget-object v1, Landroidx/lifecycle/LifecycleRegistry$1;->$SwitchMap$androidx$lifecycle$Lifecycle$Event:[I
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
|
||||
|
||||
move-result v1
|
||||
sget-object v2, Landroidx/lifecycle/Lifecycle$Event;->ON_ANY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
const/4 v2, 0x7
|
||||
|
||||
aput v2, v0, v1
|
||||
aput v2, v1, v0
|
||||
:try_end_b
|
||||
.catch Ljava/lang/NoSuchFieldError; {:try_start_b .. :try_end_b} :catch_b
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Class;",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;",
|
||||
"Ljava/lang/Integer;",
|
||||
">;"
|
||||
}
|
||||
|
@ -31,7 +32,8 @@
|
|||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/Class;",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;",
|
||||
"Ljava/util/List<",
|
||||
"Ljava/lang/reflect/Constructor<",
|
||||
"+",
|
||||
|
|
|
@ -95,6 +95,14 @@
|
|||
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 0
|
||||
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->mOwner:Landroidx/lifecycle/LifecycleOwner;
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
|
||||
const-string v2, " on a background thread"
|
||||
|
||||
invoke-static {v1, p0, v2}, Lf/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
invoke-static {v1, p0, v2}, Lf/e/b/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
.class public final Landroidx/lifecycle/LiveDataKt$observe$wrappedObserver$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LiveData.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/lifecycle/Observer;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/LiveDataKt;->observe(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function1;)Landroidx/lifecycle/Observer;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Landroidx/lifecycle/Observer<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $onChanged:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lkotlin/jvm/functions/Function1;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/LiveDataKt$observe$wrappedObserver$1;->$onChanged:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final onChanged(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/LiveDataKt$observe$wrappedObserver$1;->$onChanged:Lkotlin/jvm/functions/Function1;
|
||||
|
||||
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
65
com.discord/smali/androidx/lifecycle/LiveDataKt.smali
Normal file
65
com.discord/smali/androidx/lifecycle/LiveDataKt.smali
Normal file
|
@ -0,0 +1,65 @@
|
|||
.class public final Landroidx/lifecycle/LiveDataKt;
|
||||
.super Ljava/lang/Object;
|
||||
.source "LiveData.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final observe(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function1;)Landroidx/lifecycle/Observer;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/LiveData<",
|
||||
"TT;>;",
|
||||
"Landroidx/lifecycle/LifecycleOwner;",
|
||||
"Lkotlin/jvm/functions/Function1<",
|
||||
"-TT;",
|
||||
"Lkotlin/Unit;",
|
||||
">;)",
|
||||
"Landroidx/lifecycle/Observer<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p0, :cond_2
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/LiveDataKt$observe$wrappedObserver$1;
|
||||
|
||||
invoke-direct {v0, p2}, Landroidx/lifecycle/LiveDataKt$observe$wrappedObserver$1;-><init>(Lkotlin/jvm/functions/Function1;)V
|
||||
|
||||
invoke-virtual {p0, p1, v0}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p0, "onChanged"
|
||||
|
||||
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p0, "owner"
|
||||
|
||||
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p0, "$this$observe"
|
||||
|
||||
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
55
com.discord/smali/androidx/lifecycle/PausingDispatcher.smali
Normal file
55
com.discord/smali/androidx/lifecycle/PausingDispatcher.smali
Normal file
|
@ -0,0 +1,55 @@
|
|||
.class public final Landroidx/lifecycle/PausingDispatcher;
|
||||
.super Lk0/a/x;
|
||||
.source "PausingDispatcher.kt"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Lk0/a/x;-><init>()V
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
invoke-direct {v0}, Landroidx/lifecycle/DispatchQueue;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/PausingDispatcher;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/PausingDispatcher;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/DispatchQueue;->runOrEnqueue(Ljava/lang/Runnable;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "block"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "context"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -0,0 +1,278 @@
|
|||
.class public final Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;
|
||||
.super Lj0/k/i/a/g;
|
||||
.source "PausingDispatcher.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function2;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/PausingDispatcherKt;->whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/k/i/a/g;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;",
|
||||
"Ljava/lang/Object;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Lj0/k/i/a/d;
|
||||
c = "androidx.lifecycle.PausingDispatcherKt$whenStateAtLeast$2"
|
||||
f = "PausingDispatcher.kt"
|
||||
l = {
|
||||
0xa3
|
||||
}
|
||||
m = "invokeSuspend"
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
.field public final synthetic $minState:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
.field public final synthetic $this_whenStateAtLeast:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
.field public L$0:Ljava/lang/Object;
|
||||
|
||||
.field public L$1:Ljava/lang/Object;
|
||||
|
||||
.field public L$2:Ljava/lang/Object;
|
||||
|
||||
.field public L$3:Ljava/lang/Object;
|
||||
|
||||
.field public label:I
|
||||
|
||||
.field public p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$this_whenStateAtLeast:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$minState:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
iput-object p3, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
const/4 p1, 0x2
|
||||
|
||||
invoke-direct {p0, p1, p4}, Lj0/k/i/a/g;-><init>(ILkotlin/coroutines/Continuation;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/Object;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"*>;)",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"Lkotlin/Unit;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$this_whenStateAtLeast:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iget-object v2, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$minState:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
iget-object v3, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
invoke-direct {v0, v1, v2, v3, p2}, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;-><init>(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
check-cast p1, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
iput-object p1, v0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string p1, "completion"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 0
|
||||
|
||||
check-cast p2, Lkotlin/coroutines/Continuation;
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;
|
||||
|
||||
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
.locals 8
|
||||
|
||||
sget-object v0, Lj0/k/h/a;->d:Lj0/k/h/a;
|
||||
|
||||
iget v1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->label:I
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
if-ne v1, v2, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$3:Ljava/lang/Object;
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$2:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Landroidx/lifecycle/PausingDispatcher;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$1:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Lkotlinx/coroutines/Job;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$0:Ljava/lang/Object;
|
||||
|
||||
check-cast v1, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
:try_start_0
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
invoke-static {p1}, Lf/i/a/b/i1/e;->throwOnFailure(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->p$:Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
invoke-interface {p1}, Lkotlinx/coroutines/CoroutineScope;->getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
sget-object v3, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
|
||||
|
||||
invoke-interface {v1, v3}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Lkotlinx/coroutines/Job;
|
||||
|
||||
if-eqz v1, :cond_3
|
||||
|
||||
new-instance v3, Landroidx/lifecycle/PausingDispatcher;
|
||||
|
||||
invoke-direct {v3}, Landroidx/lifecycle/PausingDispatcher;-><init>()V
|
||||
|
||||
new-instance v4, Landroidx/lifecycle/LifecycleController;
|
||||
|
||||
iget-object v5, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$this_whenStateAtLeast:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iget-object v6, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$minState:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
iget-object v7, v3, Landroidx/lifecycle/PausingDispatcher;->dispatchQueue:Landroidx/lifecycle/DispatchQueue;
|
||||
|
||||
invoke-direct {v4, v5, v6, v7, v1}, Landroidx/lifecycle/LifecycleController;-><init>(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Landroidx/lifecycle/DispatchQueue;Lkotlinx/coroutines/Job;)V
|
||||
|
||||
:try_start_1
|
||||
iget-object v5, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->$block:Lkotlin/jvm/functions/Function2;
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$0:Ljava/lang/Object;
|
||||
|
||||
iput-object v1, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$1:Ljava/lang/Object;
|
||||
|
||||
iput-object v3, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$2:Ljava/lang/Object;
|
||||
|
||||
iput-object v4, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->L$3:Ljava/lang/Object;
|
||||
|
||||
iput v2, p0, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;->label:I
|
||||
|
||||
invoke-static {v3, v5, p0}, Lj0/i/u;->h0(Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
:try_end_1
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||||
|
||||
if-ne p1, v0, :cond_2
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
move-object v0, v4
|
||||
|
||||
:goto_0
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/LifecycleController;->finish()V
|
||||
|
||||
return-object p1
|
||||
|
||||
:catchall_1
|
||||
move-exception p1
|
||||
|
||||
move-object v0, v4
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/LifecycleController;->finish()V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "when[State] methods should have a parent job"
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
253
com.discord/smali/androidx/lifecycle/PausingDispatcherKt.smali
Normal file
253
com.discord/smali/androidx/lifecycle/PausingDispatcherKt.smali
Normal file
|
@ -0,0 +1,253 @@
|
|||
.class public final Landroidx/lifecycle/PausingDispatcherKt;
|
||||
.super Ljava/lang/Object;
|
||||
.source "PausingDispatcher.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final whenCreated(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/Lifecycle;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->CREATED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-static {p0, v0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final whenCreated(Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/LifecycleOwner;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v0, "lifecycle"
|
||||
|
||||
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenCreated(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final whenResumed(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/Lifecycle;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->RESUMED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-static {p0, v0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final whenResumed(Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/LifecycleOwner;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v0, "lifecycle"
|
||||
|
||||
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenResumed(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final whenStarted(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/Lifecycle;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-static {p0, v0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final whenStarted(Landroidx/lifecycle/LifecycleOwner;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/LifecycleOwner;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v0, "lifecycle"
|
||||
|
||||
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0, p1, p2}, Landroidx/lifecycle/PausingDispatcherKt;->whenStarted(Landroidx/lifecycle/Lifecycle;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static final whenStateAtLeast(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/Lifecycle;",
|
||||
"Landroidx/lifecycle/Lifecycle$State;",
|
||||
"Lkotlin/jvm/functions/Function2<",
|
||||
"-",
|
||||
"Lkotlinx/coroutines/CoroutineScope;",
|
||||
"-",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;+",
|
||||
"Ljava/lang/Object;",
|
||||
">;",
|
||||
"Lkotlin/coroutines/Continuation<",
|
||||
"-TT;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {}, Lk0/a/l0;->a()Lk0/a/i1;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lk0/a/i1;->s()Lk0/a/i1;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v1, p0, p1, p2, v2}, Landroidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2;-><init>(Landroidx/lifecycle/Lifecycle;Landroidx/lifecycle/Lifecycle$State;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
|
||||
|
||||
invoke-static {v0, v1, p3}, Lj0/i/u;->h0(Lkotlin/coroutines/CoroutineContext;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
|
@ -1,49 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ProcessLifecycleOwner$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ProcessLifecycleOwner.java"
|
||||
|
||||
# interfaces
|
||||
.implements Ljava/lang/Runnable;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/ProcessLifecycleOwner;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/ProcessLifecycleOwner$1;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public run()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner$1;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/ProcessLifecycleOwner;->dispatchPauseIfNeeded()V
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner$1;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/ProcessLifecycleOwner;->dispatchStopIfNeeded()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,61 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ProcessLifecycleOwner$2;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ProcessLifecycleOwner.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/ProcessLifecycleOwner;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/ProcessLifecycleOwner$2;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCreate()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onResume()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner$2;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/ProcessLifecycleOwner;->activityResumed()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onStart()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner$2;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/ProcessLifecycleOwner;->activityStarted()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,68 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ProcessLifecycleOwner$3;
|
||||
.super Landroidx/lifecycle/EmptyActivityLifecycleCallbacks;
|
||||
.source "ProcessLifecycleOwner.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/ProcessLifecycleOwner;->attach(Landroid/content/Context;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/ProcessLifecycleOwner;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/ProcessLifecycleOwner$3;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/EmptyActivityLifecycleCallbacks;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p1}, Landroidx/lifecycle/ReportFragment;->get(Landroid/app/Activity;)Landroidx/lifecycle/ReportFragment;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iget-object p2, p0, Landroidx/lifecycle/ProcessLifecycleOwner$3;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
iget-object p2, p2, Landroidx/lifecycle/ProcessLifecycleOwner;->mInitializationListener:Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/ReportFragment;->setProcessListener(Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPaused(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/ProcessLifecycleOwner$3;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/ProcessLifecycleOwner;->activityPaused()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStopped(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/ProcessLifecycleOwner$3;->this$0:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/ProcessLifecycleOwner;->activityStopped()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,308 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ProcessLifecycleOwner.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/lifecycle/LifecycleOwner;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final TIMEOUT_MS:J = 0x2bcL
|
||||
.annotation build Landroidx/annotation/VisibleForTesting;
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static final sInstance:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mDelayedPauseRunnable:Ljava/lang/Runnable;
|
||||
|
||||
.field public mHandler:Landroid/os/Handler;
|
||||
|
||||
.field public mInitializationListener:Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;
|
||||
|
||||
.field public mPauseSent:Z
|
||||
|
||||
.field public final mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
.field public mResumedCounter:I
|
||||
|
||||
.field public mStartedCounter:I
|
||||
|
||||
.field public mStopSent:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-direct {v0}, Landroidx/lifecycle/ProcessLifecycleOwner;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/ProcessLifecycleOwner;->sInstance:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStartedCounter:I
|
||||
|
||||
iput v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mPauseSent:Z
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStopSent:Z
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/lifecycle/LifecycleRegistry;-><init>(Landroidx/lifecycle/LifecycleOwner;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/ProcessLifecycleOwner$1;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/lifecycle/ProcessLifecycleOwner$1;-><init>(Landroidx/lifecycle/ProcessLifecycleOwner;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mDelayedPauseRunnable:Ljava/lang/Runnable;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/ProcessLifecycleOwner$2;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/lifecycle/ProcessLifecycleOwner$2;-><init>(Landroidx/lifecycle/ProcessLifecycleOwner;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mInitializationListener:Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static get()Landroidx/lifecycle/LifecycleOwner;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/ProcessLifecycleOwner;->sInstance:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static init(Landroid/content/Context;)V
|
||||
.locals 1
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/ProcessLifecycleOwner;->sInstance:Landroidx/lifecycle/ProcessLifecycleOwner;
|
||||
|
||||
invoke-virtual {v0, p0}, Landroidx/lifecycle/ProcessLifecycleOwner;->attach(Landroid/content/Context;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public activityPaused()V
|
||||
.locals 4
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
add-int/lit8 v0, v0, -0x1
|
||||
|
||||
iput v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mHandler:Landroid/os/Handler;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mDelayedPauseRunnable:Ljava/lang/Runnable;
|
||||
|
||||
const-wide/16 v2, 0x2bc
|
||||
|
||||
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public activityResumed()V
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
iput v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
if-ne v0, v1, :cond_1
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mPauseSent:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mPauseSent:Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mHandler:Landroid/os/Handler;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mDelayedPauseRunnable:Ljava/lang/Runnable;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public activityStarted()V
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStartedCounter:I
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
add-int/2addr v0, v1
|
||||
|
||||
iput v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStartedCounter:I
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStartedCounter:I
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStopSent:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStopSent:Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public activityStopped()V
|
||||
.locals 1
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStartedCounter:I
|
||||
|
||||
add-int/lit8 v0, v0, -0x1
|
||||
|
||||
iput v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStartedCounter:I
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/ProcessLifecycleOwner;->dispatchStopIfNeeded()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public attach(Landroid/content/Context;)V
|
||||
.locals 2
|
||||
|
||||
new-instance v0, Landroid/os/Handler;
|
||||
|
||||
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mHandler:Landroid/os/Handler;
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroid/app/Application;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/ProcessLifecycleOwner$3;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/lifecycle/ProcessLifecycleOwner$3;-><init>(Landroidx/lifecycle/ProcessLifecycleOwner;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/app/Application;->registerActivityLifecycleCallbacks(Landroid/app/Application$ActivityLifecycleCallbacks;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public dispatchPauseIfNeeded()V
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mResumedCounter:I
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mPauseSent:Z
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public dispatchStopIfNeeded()V
|
||||
.locals 2
|
||||
|
||||
iget v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStartedCounter:I
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mPauseSent:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mStopSent:Z
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ProcessLifecycleOwner;->mRegistry:Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,109 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ProcessLifecycleOwnerInitializer;
|
||||
.super Landroid/content/ContentProvider;
|
||||
.source "ProcessLifecycleOwnerInitializer.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation build Landroidx/annotation/RestrictTo;
|
||||
value = {
|
||||
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroid/content/ContentProvider;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public delete(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/net/Uri;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public getType(Landroid/net/Uri;)Ljava/lang/String;
|
||||
.locals 0
|
||||
.param p1 # Landroid/net/Uri;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public insert(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;
|
||||
.locals 0
|
||||
.param p1 # Landroid/net/Uri;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public onCreate()Z
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroid/content/ContentProvider;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Landroidx/lifecycle/LifecycleDispatcher;->init(Landroid/content/Context;)V
|
||||
|
||||
invoke-virtual {p0}, Landroid/content/ContentProvider;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Landroidx/lifecycle/ProcessLifecycleOwner;->init(Landroid/content/Context;)V
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
||||
.locals 0
|
||||
.param p1 # Landroid/net/Uri;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public update(Landroid/net/Uri;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I
|
||||
.locals 0
|
||||
.param p1 # Landroid/net/Uri;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return p1
|
||||
.end method
|
|
@ -1,6 +1,5 @@
|
|||
.class public final Landroidx/lifecycle/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -20,15 +20,13 @@
|
|||
|
||||
iput-object p1, p0, Landroidx/lifecycle/ReflectiveGenericLifecycleObserver;->mWrapped:Ljava/lang/Object;
|
||||
|
||||
sget-object p1, Landroidx/lifecycle/ClassesInfoCache;->sInstance:Landroidx/lifecycle/ClassesInfoCache;
|
||||
sget-object v0, Landroidx/lifecycle/ClassesInfoCache;->sInstance:Landroidx/lifecycle/ClassesInfoCache;
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ReflectiveGenericLifecycleObserver;->mWrapped:Ljava/lang/Object;
|
||||
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
move-result-object p1
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/lifecycle/ClassesInfoCache;->getInfo(Ljava/lang/Class;)Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;
|
||||
invoke-virtual {v0, p1}, Landroidx/lifecycle/ClassesInfoCache;->getInfo(Ljava/lang/Class;)Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -41,6 +39,14 @@
|
|||
# virtual methods
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 2
|
||||
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ReflectiveGenericLifecycleObserver;->mInfo:Landroidx/lifecycle/ClassesInfoCache$CallbackInfo;
|
||||
|
||||
|
|
|
@ -0,0 +1,195 @@
|
|||
.class public Landroidx/lifecycle/ReportFragment$LifecycleCallbacks;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ReportFragment.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/app/Application$ActivityLifecycleCallbacks;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/ReportFragment;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "LifecycleCallbacks"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityDestroyed(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPaused(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPostCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object p2, Landroidx/lifecycle/Lifecycle$Event;->ON_CREATE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-static {p1, p2}, Landroidx/lifecycle/ReportFragment;->dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPostResumed(Landroid/app/Activity;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_RESUME:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-static {p1, v0}, Landroidx/lifecycle/ReportFragment;->dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPostStarted(Landroid/app/Activity;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-static {p1, v0}, Landroidx/lifecycle/ReportFragment;->dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPreDestroyed(Landroid/app/Activity;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-static {p1, v0}, Landroidx/lifecycle/ReportFragment;->dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPrePaused(Landroid/app/Activity;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_PAUSE:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-static {p1, v0}, Landroidx/lifecycle/ReportFragment;->dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityPreStopped(Landroid/app/Activity;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_STOP:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
invoke-static {p1, v0}, Landroidx/lifecycle/ReportFragment;->dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityResumed(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStarted(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onActivityStopped(Landroid/app/Activity;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/lifecycle/ReportFragment$LifecycleCallbacks;,
|
||||
Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;
|
||||
}
|
||||
.end annotation
|
||||
|
@ -34,47 +35,74 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 1
|
||||
.param p0 # Landroid/app/Activity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
instance-of v0, p0, Landroidx/lifecycle/LifecycleRegistryOwner;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p0, Landroidx/lifecycle/LifecycleRegistryOwner;
|
||||
|
||||
invoke-interface {p0}, Landroidx/lifecycle/LifecycleRegistryOwner;->getLifecycle()Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
instance-of v0, p0, Landroidx/lifecycle/LifecycleOwner;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
check-cast p0, Landroidx/lifecycle/LifecycleOwner;
|
||||
|
||||
invoke-interface {p0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
instance-of v0, p0, Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
check-cast p0, Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private dispatch(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 2
|
||||
.param p1 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x1d
|
||||
|
||||
if-ge v0, v1, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroid/app/Fragment;->getActivity()Landroid/app/Activity;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
instance-of v1, v0, Landroidx/lifecycle/LifecycleRegistryOwner;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/LifecycleRegistryOwner;
|
||||
|
||||
invoke-interface {v0}, Landroidx/lifecycle/LifecycleRegistryOwner;->getLifecycle()Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
return-void
|
||||
invoke-static {v0, p1}, Landroidx/lifecycle/ReportFragment;->dispatch(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
:cond_0
|
||||
instance-of v1, v0, Landroidx/lifecycle/LifecycleOwner;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/LifecycleOwner;
|
||||
|
||||
invoke-interface {v0}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
instance-of v1, v0, Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/LifecycleRegistry;
|
||||
|
||||
invoke-virtual {v0, p1}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
@ -132,6 +160,19 @@
|
|||
.method public static injectIfNeededIn(Landroid/app/Activity;)V
|
||||
.locals 3
|
||||
|
||||
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
||||
|
||||
const/16 v1, 0x1d
|
||||
|
||||
if-lt v0, v1, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/ReportFragment$LifecycleCallbacks;
|
||||
|
||||
invoke-direct {v0}, Landroidx/lifecycle/ReportFragment$LifecycleCallbacks;-><init>()V
|
||||
|
||||
invoke-virtual {p0, v0}, Landroid/app/Activity;->registerActivityLifecycleCallbacks(Landroid/app/Application$ActivityLifecycleCallbacks;)V
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Landroid/app/Activity;->getFragmentManager()Landroid/app/FragmentManager;
|
||||
|
||||
move-result-object p0
|
||||
|
@ -142,7 +183,7 @@
|
|||
|
||||
move-result-object v1
|
||||
|
||||
if-nez v1, :cond_0
|
||||
if-nez v1, :cond_1
|
||||
|
||||
invoke-virtual {p0}, Landroid/app/FragmentManager;->beginTransaction()Landroid/app/FragmentTransaction;
|
||||
|
||||
|
@ -160,7 +201,7 @@
|
|||
|
||||
invoke-virtual {p0}, Landroid/app/FragmentManager;->executePendingTransactions()Z
|
||||
|
||||
:cond_0
|
||||
:cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
|
111
com.discord/smali/androidx/lifecycle/SavedStateHandle$1.smali
Normal file
111
com.discord/smali/androidx/lifecycle/SavedStateHandle$1.smali
Normal file
|
@ -0,0 +1,111 @@
|
|||
.class public Landroidx/lifecycle/SavedStateHandle$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SavedStateHandle.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/SavedStateHandle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x1
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic this$0:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/SavedStateHandle;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/SavedStateHandle$1;->this$0:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public saveState()Landroid/os/Bundle;
|
||||
.locals 5
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle$1;->this$0:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
iget-object v0, v0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Set;->size()I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
new-instance v2, Ljava/util/ArrayList;
|
||||
|
||||
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v3
|
||||
|
||||
invoke-direct {v2, v3}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
iget-object v4, p0, Landroidx/lifecycle/SavedStateHandle$1;->this$0:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
iget-object v4, v4, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Landroid/os/Bundle;
|
||||
|
||||
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
||||
|
||||
const-string v3, "keys"
|
||||
|
||||
invoke-virtual {v0, v3, v1}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
|
||||
|
||||
const-string v1, "values"
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putParcelableArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -0,0 +1,100 @@
|
|||
.class public Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;
|
||||
.super Landroidx/lifecycle/MutableLiveData;
|
||||
.source "SavedStateHandle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/SavedStateHandle;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "SavingStateLiveData"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Landroidx/lifecycle/MutableLiveData<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
.field public mKey:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/SavedStateHandle;Ljava/lang/String;)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/MutableLiveData;-><init>()V
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->mKey:Ljava/lang/String;
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroidx/lifecycle/SavedStateHandle;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Landroidx/lifecycle/SavedStateHandle;",
|
||||
"Ljava/lang/String;",
|
||||
"TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p3}, Landroidx/lifecycle/MutableLiveData;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->mKey:Ljava/lang/String;
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public detach()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public setValue(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, v0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->mKey:Ljava/lang/String;
|
||||
|
||||
invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
invoke-super {p0, p1}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
831
com.discord/smali/androidx/lifecycle/SavedStateHandle.smali
Normal file
831
com.discord/smali/androidx/lifecycle/SavedStateHandle.smali
Normal file
|
@ -0,0 +1,831 @@
|
|||
.class public final Landroidx/lifecycle/SavedStateHandle;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SavedStateHandle.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ACCEPTABLE_CLASSES:[Ljava/lang/Class;
|
||||
|
||||
.field public static final KEYS:Ljava/lang/String; = "keys"
|
||||
|
||||
.field public static final VALUES:Ljava/lang/String; = "values"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mLiveDatas:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/String;",
|
||||
"Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData<",
|
||||
"*>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final mRegular:Ljava/util/Map;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Object;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final mSavedStateProvider:Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 3
|
||||
|
||||
const/16 v0, 0x1d
|
||||
|
||||
new-array v0, v0, [Ljava/lang/Class;
|
||||
|
||||
sget-object v1, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/4 v1, 0x1
|
||||
|
||||
const-class v2, [Z
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sget-object v1, Ljava/lang/Double;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/4 v1, 0x3
|
||||
|
||||
const-class v2, [D
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sget-object v1, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/4 v2, 0x4
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/4 v1, 0x5
|
||||
|
||||
const-class v2, [I
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sget-object v1, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/4 v2, 0x6
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/4 v1, 0x7
|
||||
|
||||
const-class v2, [J
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x8
|
||||
|
||||
const-class v2, Ljava/lang/String;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x9
|
||||
|
||||
const-class v2, [Ljava/lang/String;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0xa
|
||||
|
||||
const-class v2, Landroid/os/Binder;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0xb
|
||||
|
||||
const-class v2, Landroid/os/Bundle;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sget-object v1, Ljava/lang/Byte;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/16 v2, 0xc
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/16 v1, 0xd
|
||||
|
||||
const-class v2, [B
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sget-object v1, Ljava/lang/Character;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/16 v2, 0xe
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/16 v1, 0xf
|
||||
|
||||
const-class v2, [C
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x10
|
||||
|
||||
const-class v2, Ljava/lang/CharSequence;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x11
|
||||
|
||||
const-class v2, [Ljava/lang/CharSequence;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x12
|
||||
|
||||
const-class v2, Ljava/util/ArrayList;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sget-object v1, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/16 v2, 0x13
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/16 v1, 0x14
|
||||
|
||||
const-class v2, [F
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x15
|
||||
|
||||
const-class v2, Landroid/os/Parcelable;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x16
|
||||
|
||||
const-class v2, [Landroid/os/Parcelable;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x17
|
||||
|
||||
const-class v2, Ljava/io/Serializable;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sget-object v1, Ljava/lang/Short;->TYPE:Ljava/lang/Class;
|
||||
|
||||
const/16 v2, 0x18
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/16 v1, 0x19
|
||||
|
||||
const-class v2, [S
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const/16 v1, 0x1a
|
||||
|
||||
const-class v2, Landroid/util/SparseArray;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
const-class v1, Landroid/util/Size;
|
||||
|
||||
const/16 v2, 0x1b
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
const/16 v1, 0x1c
|
||||
|
||||
const-class v2, Landroid/util/SizeF;
|
||||
|
||||
aput-object v2, v0, v1
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/SavedStateHandle;->ACCEPTABLE_CLASSES:[Ljava/lang/Class;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mLiveDatas:Ljava/util/Map;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/SavedStateHandle$1;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/lifecycle/SavedStateHandle$1;-><init>(Landroidx/lifecycle/SavedStateHandle;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mSavedStateProvider:Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
||||
|
||||
new-instance v0, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Ljava/util/Map;)V
|
||||
.locals 1
|
||||
.param p1 # Ljava/util/Map;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/util/Map<",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Object;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
new-instance v0, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mLiveDatas:Ljava/util/Map;
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/SavedStateHandle$1;
|
||||
|
||||
invoke-direct {v0, p0}, Landroidx/lifecycle/SavedStateHandle$1;-><init>(Landroidx/lifecycle/SavedStateHandle;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mSavedStateProvider:Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
||||
|
||||
new-instance v0, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v0, p1}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static createHandle(Landroid/os/Bundle;Landroid/os/Bundle;)Landroidx/lifecycle/SavedStateHandle;
|
||||
.locals 4
|
||||
.param p0 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
new-instance p0, Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/SavedStateHandle;-><init>()V
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/util/HashMap;
|
||||
|
||||
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-virtual {p1}, Landroid/os/Bundle;->keySet()Ljava/util/Set;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p1, v2}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
if-nez p0, :cond_2
|
||||
|
||||
new-instance p0, Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
invoke-direct {p0, v0}, Landroidx/lifecycle/SavedStateHandle;-><init>(Ljava/util/Map;)V
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "keys"
|
||||
|
||||
invoke-virtual {p0, p1}, Landroid/os/Bundle;->getParcelableArrayList(Ljava/lang/String;)Ljava/util/ArrayList;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-string v1, "values"
|
||||
|
||||
invoke-virtual {p0, v1}, Landroid/os/Bundle;->getParcelableArrayList(Ljava/lang/String;)Ljava/util/ArrayList;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
if-eqz p0, :cond_4
|
||||
|
||||
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {p0}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v2
|
||||
|
||||
if-ne v1, v2, :cond_4
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_1
|
||||
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
|
||||
|
||||
move-result v2
|
||||
|
||||
if-ge v1, v2, :cond_3
|
||||
|
||||
invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {p0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-virtual {v0, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
new-instance p0, Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
invoke-direct {p0, v0}, Landroidx/lifecycle/SavedStateHandle;-><init>(Ljava/util/Map;)V
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_4
|
||||
new-instance p0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p1, "Invalid bundle passed as restored state"
|
||||
|
||||
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method private getLiveDataInternal(Ljava/lang/String;ZLjava/lang/Object;)Landroidx/lifecycle/MutableLiveData;
|
||||
.locals 1
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Ljava/lang/Object;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
"ZTT;)",
|
||||
"Landroidx/lifecycle/MutableLiveData<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mLiveDatas:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/MutableLiveData;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
new-instance p2, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;
|
||||
|
||||
iget-object p3, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {p3, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
invoke-direct {p2, p0, p1, p3}, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;-><init>(Landroidx/lifecycle/SavedStateHandle;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
new-instance p2, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;
|
||||
|
||||
invoke-direct {p2, p0, p1, p3}, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;-><init>(Landroidx/lifecycle/SavedStateHandle;Ljava/lang/String;Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
new-instance p2, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;
|
||||
|
||||
invoke-direct {p2, p0, p1}, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;-><init>(Landroidx/lifecycle/SavedStateHandle;Ljava/lang/String;)V
|
||||
|
||||
:goto_0
|
||||
iget-object p3, p0, Landroidx/lifecycle/SavedStateHandle;->mLiveDatas:Ljava/util/Map;
|
||||
|
||||
invoke-interface {p3, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
return-object p2
|
||||
.end method
|
||||
|
||||
.method public static validateValue(Ljava/lang/Object;)V
|
||||
.locals 4
|
||||
|
||||
if-nez p0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroidx/lifecycle/SavedStateHandle;->ACCEPTABLE_CLASSES:[Ljava/lang/Class;
|
||||
|
||||
array-length v1, v0
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v2, v1, :cond_2
|
||||
|
||||
aget-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v3, p0}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_1
|
||||
|
||||
return-void
|
||||
|
||||
:cond_1
|
||||
add-int/lit8 v2, v2, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v1, "Can\'t put value with type "
|
||||
|
||||
invoke-static {v1}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p0, " into saved state"
|
||||
|
||||
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public contains(Ljava/lang/String;)Z
|
||||
.locals 1
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
return p1
|
||||
.end method
|
||||
|
||||
.method public get(Ljava/lang/String;)Ljava/lang/Object;
|
||||
.locals 1
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
")TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public getLiveData(Ljava/lang/String;)Landroidx/lifecycle/MutableLiveData;
|
||||
.locals 2
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
")",
|
||||
"Landroidx/lifecycle/MutableLiveData<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
invoke-direct {p0, p1, v0, v1}, Landroidx/lifecycle/SavedStateHandle;->getLiveDataInternal(Ljava/lang/String;ZLjava/lang/Object;)Landroidx/lifecycle/MutableLiveData;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public getLiveData(Ljava/lang/String;Ljava/lang/Object;)Landroidx/lifecycle/MutableLiveData;
|
||||
.locals 1
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Ljava/lang/Object;
|
||||
.annotation build Landroid/annotation/SuppressLint;
|
||||
value = {
|
||||
"UnknownNullness"
|
||||
}
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
"TT;)",
|
||||
"Landroidx/lifecycle/MutableLiveData<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-direct {p0, p1, v0, p2}, Landroidx/lifecycle/SavedStateHandle;->getLiveDataInternal(Ljava/lang/String;ZLjava/lang/Object;)Landroidx/lifecycle/MutableLiveData;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
.end method
|
||||
|
||||
.method public keys()Ljava/util/Set;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()",
|
||||
"Ljava/util/Set<",
|
||||
"Ljava/lang/String;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public remove(Ljava/lang/String;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
")TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/SavedStateHandle;->mLiveDatas:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v1, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/SavedStateHandle$SavingStateLiveData;->detach()V
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public savedStateProvider()Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mSavedStateProvider:Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public set(Ljava/lang/String;Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Ljava/lang/Object;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
"TT;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p2}, Landroidx/lifecycle/SavedStateHandle;->validateValue(Ljava/lang/Object;)V
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mLiveDatas:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/MutableLiveData;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {v0, p2}, Landroidx/lifecycle/MutableLiveData;->setValue(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandle;->mRegular:Ljava/util/Map;
|
||||
|
||||
invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,68 @@
|
|||
.class public final Landroidx/lifecycle/SavedStateHandleController$1;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SavedStateHandleController.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||||
value = Landroidx/lifecycle/SavedStateHandleController;->tryToAddRecreator(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = null
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic val$lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
.field public final synthetic val$registry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroidx/lifecycle/Lifecycle;Landroidx/savedstate/SavedStateRegistry;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$registry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 0
|
||||
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object p1, Landroidx/lifecycle/Lifecycle$Event;->ON_START:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
if-ne p2, p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$lifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
invoke-virtual {p1, p0}, Landroidx/lifecycle/Lifecycle;->removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/SavedStateHandleController$1;->val$registry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
const-class p2, Landroidx/lifecycle/SavedStateHandleController$OnRecreation;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/savedstate/SavedStateRegistry;->runOnNextRecreation(Ljava/lang/Class;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,113 @@
|
|||
.class public final Landroidx/lifecycle/SavedStateHandleController$OnRecreation;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SavedStateHandleController.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/savedstate/SavedStateRegistry$AutoRecreated;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/SavedStateHandleController;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "OnRecreation"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onRecreated(Landroidx/savedstate/SavedStateRegistryOwner;)V
|
||||
.locals 5
|
||||
.param p1 # Landroidx/savedstate/SavedStateRegistryOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
instance-of v0, p1, Landroidx/lifecycle/ViewModelStoreOwner;
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/ViewModelStoreOwner;
|
||||
|
||||
invoke-interface {v0}, Landroidx/lifecycle/ViewModelStoreOwner;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-interface {p1}, Landroidx/savedstate/SavedStateRegistryOwner;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/ViewModelStore;->keys()Ljava/util/Set;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
:goto_0
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Ljava/lang/String;
|
||||
|
||||
invoke-virtual {v0, v3}, Landroidx/lifecycle/ViewModelStore;->get(Ljava/lang/String;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-interface {p1}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object v4
|
||||
|
||||
invoke-static {v3, v1, v4}, Landroidx/lifecycle/SavedStateHandleController;->attachHandleIfNeeded(Landroidx/lifecycle/ViewModel;Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/ViewModelStore;->keys()Ljava/util/Set;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-interface {p1}, Ljava/util/Set;->isEmpty()Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
const-class p1, Landroidx/lifecycle/SavedStateHandleController$OnRecreation;
|
||||
|
||||
invoke-virtual {v1, p1}, Landroidx/savedstate/SavedStateRegistry;->runOnNextRecreation(Ljava/lang/Class;)V
|
||||
|
||||
:cond_1
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Internal error: OnRecreation should be registered only on componentsthat implement ViewModelStoreOwner"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
|
@ -0,0 +1,215 @@
|
|||
.class public final Landroidx/lifecycle/SavedStateHandleController;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SavedStateHandleController.java"
|
||||
|
||||
# interfaces
|
||||
.implements Landroidx/lifecycle/LifecycleEventObserver;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/lifecycle/SavedStateHandleController$OnRecreation;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final TAG_SAVED_STATE_HANDLE_CONTROLLER:Ljava/lang/String; = "androidx.lifecycle.savedstate.vm.tag"
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
.field public mIsAttached:Z
|
||||
|
||||
.field public final mKey:Ljava/lang/String;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/String;Landroidx/lifecycle/SavedStateHandle;)V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/SavedStateHandleController;->mIsAttached:Z
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/SavedStateHandleController;->mKey:Ljava/lang/String;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/SavedStateHandleController;->mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static attachHandleIfNeeded(Landroidx/lifecycle/ViewModel;Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "androidx.lifecycle.savedstate.vm.tag"
|
||||
|
||||
invoke-virtual {p0, v0}, Landroidx/lifecycle/ViewModel;->getTag(Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
check-cast p0, Landroidx/lifecycle/SavedStateHandleController;
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/SavedStateHandleController;->isAttached()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Landroidx/lifecycle/SavedStateHandleController;->attachToLifecycle(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
|
||||
invoke-static {p1, p2}, Landroidx/lifecycle/SavedStateHandleController;->tryToAddRecreator(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static create(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;Ljava/lang/String;Landroid/os/Bundle;)Landroidx/lifecycle/SavedStateHandleController;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0, p2}, Landroidx/savedstate/SavedStateRegistry;->consumeRestoredStateForKey(Ljava/lang/String;)Landroid/os/Bundle;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0, p3}, Landroidx/lifecycle/SavedStateHandle;->createHandle(Landroid/os/Bundle;Landroid/os/Bundle;)Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
move-result-object p3
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/SavedStateHandleController;
|
||||
|
||||
invoke-direct {v0, p2, p3}, Landroidx/lifecycle/SavedStateHandleController;-><init>(Ljava/lang/String;Landroidx/lifecycle/SavedStateHandle;)V
|
||||
|
||||
invoke-virtual {v0, p0, p1}, Landroidx/lifecycle/SavedStateHandleController;->attachToLifecycle(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
|
||||
invoke-static {p0, p1}, Landroidx/lifecycle/SavedStateHandleController;->tryToAddRecreator(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static tryToAddRecreator(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
.locals 2
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/Lifecycle;->getCurrentState()Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->INITIALIZED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
if-eq v0, v1, :cond_1
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/Lifecycle$State;->STARTED:Landroidx/lifecycle/Lifecycle$State;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroidx/lifecycle/Lifecycle$State;->isAtLeast(Landroidx/lifecycle/Lifecycle$State;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Landroidx/lifecycle/SavedStateHandleController$1;
|
||||
|
||||
invoke-direct {v0, p1, p0}, Landroidx/lifecycle/SavedStateHandleController$1;-><init>(Landroidx/lifecycle/Lifecycle;Landroidx/savedstate/SavedStateRegistry;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/lifecycle/Lifecycle;->addObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
:goto_0
|
||||
const-class p1, Landroidx/lifecycle/SavedStateHandleController$OnRecreation;
|
||||
|
||||
invoke-virtual {p0, p1}, Landroidx/savedstate/SavedStateRegistry;->runOnNextRecreation(Ljava/lang/Class;)V
|
||||
|
||||
:goto_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public attachToLifecycle(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/SavedStateHandleController;->mIsAttached:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Landroidx/lifecycle/SavedStateHandleController;->mIsAttached:Z
|
||||
|
||||
invoke-virtual {p2, p0}, Landroidx/lifecycle/Lifecycle;->addObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
iget-object p2, p0, Landroidx/lifecycle/SavedStateHandleController;->mKey:Ljava/lang/String;
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandleController;->mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
invoke-virtual {v0}, Landroidx/lifecycle/SavedStateHandle;->savedStateProvider()Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Landroidx/savedstate/SavedStateRegistry;->registerSavedStateProvider(Ljava/lang/String;Landroidx/savedstate/SavedStateRegistry$SavedStateProvider;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "Already attached to lifecycleOwner"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public getHandle()Landroidx/lifecycle/SavedStateHandle;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateHandleController;->mHandle:Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public isAttached()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Landroidx/lifecycle/SavedStateHandleController;->mIsAttached:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 1
|
||||
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/Lifecycle$Event;->ON_DESTROY:Landroidx/lifecycle/Lifecycle$Event;
|
||||
|
||||
if-ne p2, v0, :cond_0
|
||||
|
||||
const/4 p2, 0x0
|
||||
|
||||
iput-boolean p2, p0, Landroidx/lifecycle/SavedStateHandleController;->mIsAttached:Z
|
||||
|
||||
invoke-interface {p1}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-virtual {p1, p0}, Landroidx/lifecycle/Lifecycle;->removeObserver(Landroidx/lifecycle/LifecycleObserver;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,447 @@
|
|||
.class public final Landroidx/lifecycle/SavedStateViewModelFactory;
|
||||
.super Landroidx/lifecycle/ViewModelProvider$KeyedFactory;
|
||||
.source "SavedStateViewModelFactory.java"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ANDROID_VIEWMODEL_SIGNATURE:[Ljava/lang/Class;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"[",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public static final VIEWMODEL_SIGNATURE:[Ljava/lang/Class;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"[",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final mApplication:Landroid/app/Application;
|
||||
|
||||
.field public final mDefaultArgs:Landroid/os/Bundle;
|
||||
|
||||
.field public final mFactory:Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;
|
||||
|
||||
.field public final mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
.field public final mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 4
|
||||
|
||||
const-class v0, Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
new-array v1, v1, [Ljava/lang/Class;
|
||||
|
||||
const-class v2, Landroid/app/Application;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
aput-object v2, v1, v3
|
||||
|
||||
const/4 v2, 0x1
|
||||
|
||||
aput-object v0, v1, v2
|
||||
|
||||
sput-object v1, Landroidx/lifecycle/SavedStateViewModelFactory;->ANDROID_VIEWMODEL_SIGNATURE:[Ljava/lang/Class;
|
||||
|
||||
new-array v1, v2, [Ljava/lang/Class;
|
||||
|
||||
aput-object v0, v1, v3
|
||||
|
||||
sput-object v1, Landroidx/lifecycle/SavedStateViewModelFactory;->VIEWMODEL_SIGNATURE:[Ljava/lang/Class;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/app/Application;Landroidx/savedstate/SavedStateRegistryOwner;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/app/Application;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/savedstate/SavedStateRegistryOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, p1, p2, v0}, Landroidx/lifecycle/SavedStateViewModelFactory;-><init>(Landroid/app/Application;Landroidx/savedstate/SavedStateRegistryOwner;Landroid/os/Bundle;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroid/app/Application;Landroidx/savedstate/SavedStateRegistryOwner;Landroid/os/Bundle;)V
|
||||
.locals 1
|
||||
.param p1 # Landroid/app/Application;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/savedstate/SavedStateRegistryOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p3 # Landroid/os/Bundle;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroid/annotation/SuppressLint;
|
||||
value = {
|
||||
"LambdaLast"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Landroidx/lifecycle/ViewModelProvider$KeyedFactory;-><init>()V
|
||||
|
||||
invoke-interface {p2}, Landroidx/savedstate/SavedStateRegistryOwner;->getSavedStateRegistry()Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
invoke-interface {p2}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iput-object p3, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mDefaultArgs:Landroid/os/Bundle;
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mApplication:Landroid/app/Application;
|
||||
|
||||
invoke-static {p1}, Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;->getInstance(Landroid/app/Application;)Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mFactory:Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static findMatchingConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">(",
|
||||
"Ljava/lang/Class<",
|
||||
"TT;>;[",
|
||||
"Ljava/lang/Class<",
|
||||
"*>;)",
|
||||
"Ljava/lang/reflect/Constructor<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Ljava/lang/Class;->getConstructors()[Ljava/lang/reflect/Constructor;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
array-length v0, p0
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ge v1, v0, :cond_1
|
||||
|
||||
aget-object v2, p0, v1
|
||||
|
||||
invoke-virtual {v2}, Ljava/lang/reflect/Constructor;->getParameterTypes()[Ljava/lang/Class;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
invoke-static {p1, v3}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z
|
||||
|
||||
move-result v3
|
||||
|
||||
if-eqz v3, :cond_0
|
||||
|
||||
return-object v2
|
||||
|
||||
:cond_0
|
||||
add-int/lit8 v1, v1, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
const/4 p0, 0x0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
.locals 1
|
||||
.param p1 # Ljava/lang/Class;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Landroidx/lifecycle/ViewModel;",
|
||||
">(",
|
||||
"Ljava/lang/Class<",
|
||||
"TT;>;)TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Landroidx/lifecycle/SavedStateViewModelFactory;->create(Ljava/lang/String;Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string v0, "Local and anonymous classes can not be ViewModels"
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public create(Ljava/lang/String;Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
.locals 5
|
||||
.param p1 # Ljava/lang/String;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Ljava/lang/Class;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Landroidx/lifecycle/ViewModel;",
|
||||
">(",
|
||||
"Ljava/lang/String;",
|
||||
"Ljava/lang/Class<",
|
||||
"TT;>;)TT;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const-class v0, Landroidx/lifecycle/AndroidViewModel;
|
||||
|
||||
invoke-virtual {v0, p2}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
sget-object v1, Landroidx/lifecycle/SavedStateViewModelFactory;->ANDROID_VIEWMODEL_SIGNATURE:[Ljava/lang/Class;
|
||||
|
||||
invoke-static {p2, v1}, Landroidx/lifecycle/SavedStateViewModelFactory;->findMatchingConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
sget-object v1, Landroidx/lifecycle/SavedStateViewModelFactory;->VIEWMODEL_SIGNATURE:[Ljava/lang/Class;
|
||||
|
||||
invoke-static {p2, v1}, Landroidx/lifecycle/SavedStateViewModelFactory;->findMatchingConstructor(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
:goto_0
|
||||
if-nez v1, :cond_1
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mFactory:Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;
|
||||
|
||||
invoke-virtual {p1, p2}, Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;->create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_1
|
||||
iget-object v2, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
iget-object v3, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
iget-object v4, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mDefaultArgs:Landroid/os/Bundle;
|
||||
|
||||
invoke-static {v2, v3, p1, v4}, Landroidx/lifecycle/SavedStateHandleController;->create(Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;Ljava/lang/String;Landroid/os/Bundle;)Landroidx/lifecycle/SavedStateHandleController;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
:try_start_0
|
||||
new-array v0, v0, [Ljava/lang/Object;
|
||||
|
||||
iget-object v4, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mApplication:Landroid/app/Application;
|
||||
|
||||
aput-object v4, v0, v2
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/SavedStateHandleController;->getHandle()Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
aput-object v2, v0, v3
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/ViewModel;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_2
|
||||
new-array v0, v3, [Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {p1}, Landroidx/lifecycle/SavedStateHandleController;->getHandle()Landroidx/lifecycle/SavedStateHandle;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
aput-object v3, v0, v2
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/ViewModel;
|
||||
|
||||
:goto_1
|
||||
const-string v1, "androidx.lifecycle.savedstate.vm.tag"
|
||||
|
||||
invoke-virtual {v0, v1, p1}, Landroidx/lifecycle/ViewModel;->setTagIfAbsent(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_2
|
||||
.catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_1
|
||||
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
return-object v0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
new-instance v0, Ljava/lang/RuntimeException;
|
||||
|
||||
new-instance v1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v2, "An exception happened in constructor of "
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-virtual {p1}, Ljava/lang/reflect/InvocationTargetException;->getCause()Ljava/lang/Throwable;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {v0, p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:catch_1
|
||||
move-exception p1
|
||||
|
||||
new-instance v0, Ljava/lang/RuntimeException;
|
||||
|
||||
new-instance v1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v2, "A "
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p2, " cannot be instantiated."
|
||||
|
||||
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {v0, p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:catch_2
|
||||
move-exception p1
|
||||
|
||||
new-instance v0, Ljava/lang/RuntimeException;
|
||||
|
||||
new-instance v1, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
const-string v2, "Failed to access "
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
invoke-direct {v0, p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public onRequery(Landroidx/lifecycle/ViewModel;)V
|
||||
.locals 2
|
||||
.param p1 # Landroidx/lifecycle/ViewModel;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mSavedStateRegistry:Landroidx/savedstate/SavedStateRegistry;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/SavedStateViewModelFactory;->mLifecycle:Landroidx/lifecycle/Lifecycle;
|
||||
|
||||
invoke-static {p1, v0, v1}, Landroidx/lifecycle/SavedStateHandleController;->attachHandleIfNeeded(Landroidx/lifecycle/ViewModel;Landroidx/savedstate/SavedStateRegistry;Landroidx/lifecycle/Lifecycle;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -64,8 +64,6 @@
|
|||
|
||||
iget-object p1, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher;->mHandler:Landroid/os/Handler;
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ServiceLifecycleDispatcher;->mLastDispatchRunnable:Landroidx/lifecycle/ServiceLifecycleDispatcher$DispatchRunnable;
|
||||
|
||||
invoke-virtual {p1, v0}, Landroid/os/Handler;->postAtFrontOfQueue(Ljava/lang/Runnable;)Z
|
||||
|
||||
return-void
|
||||
|
|
|
@ -25,6 +25,14 @@
|
|||
# virtual methods
|
||||
.method public onStateChanged(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;)V
|
||||
.locals 3
|
||||
.param p1 # Landroidx/lifecycle/LifecycleOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p2 # Landroidx/lifecycle/Lifecycle$Event;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SingleGeneratedAdapterObserver;->mGeneratedAdapter:Landroidx/lifecycle/GeneratedAdapter;
|
||||
|
||||
|
@ -32,13 +40,13 @@
|
|||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-interface {v0, p1, p2, v2, v1}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
|
||||
invoke-interface {v0, p1, p2, v1, v2}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/SingleGeneratedAdapterObserver;->mGeneratedAdapter:Landroidx/lifecycle/GeneratedAdapter;
|
||||
|
||||
const/4 v2, 0x1
|
||||
const/4 v1, 0x1
|
||||
|
||||
invoke-interface {v0, p1, p2, v2, v1}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
|
||||
invoke-interface {v0, p1, p2, v1, v2}, Landroidx/lifecycle/GeneratedAdapter;->callMethods(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Lifecycle$Event;ZLandroidx/lifecycle/MethodCallsLogger;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -91,8 +91,6 @@
|
|||
:cond_1
|
||||
iput-object p1, p0, Landroidx/lifecycle/Transformations$2;->mSource:Landroidx/lifecycle/LiveData;
|
||||
|
||||
iget-object p1, p0, Landroidx/lifecycle/Transformations$2;->mSource:Landroidx/lifecycle/LiveData;
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/Transformations$2;->val$result:Landroidx/lifecycle/MediatorLiveData;
|
||||
|
|
|
@ -148,6 +148,13 @@
|
|||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ViewModel;->mBagOfTags:Ljava/util/Map;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_0
|
||||
monitor-enter v0
|
||||
|
||||
:try_start_0
|
||||
|
|
69
com.discord/smali/androidx/lifecycle/ViewModelKt.smali
Normal file
69
com.discord/smali/androidx/lifecycle/ViewModelKt.smali
Normal file
|
@ -0,0 +1,69 @@
|
|||
.class public final Landroidx/lifecycle/ViewModelKt;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewModel.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final JOB_KEY:Ljava/lang/String; = "androidx.lifecycle.ViewModelCoroutineScope.JOB_KEY"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final getViewModelScope(Landroidx/lifecycle/ViewModel;)Lkotlinx/coroutines/CoroutineScope;
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
const-string v1, "androidx.lifecycle.ViewModelCoroutineScope.JOB_KEY"
|
||||
|
||||
invoke-virtual {p0, v1}, Landroidx/lifecycle/ViewModel;->getTag(Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
if-eqz v2, :cond_0
|
||||
|
||||
return-object v2
|
||||
|
||||
:cond_0
|
||||
new-instance v2, Landroidx/lifecycle/CloseableCoroutineScope;
|
||||
|
||||
new-instance v3, Lk0/a/q1;
|
||||
|
||||
invoke-direct {v3, v0}, Lk0/a/q1;-><init>(Lkotlinx/coroutines/Job;)V
|
||||
|
||||
invoke-static {}, Lk0/a/l0;->a()Lk0/a/i1;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v0}, Lk0/a/i1;->s()Lk0/a/i1;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v3, v0}, Lk0/a/f1;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {v2, v0}, Landroidx/lifecycle/CloseableCoroutineScope;-><init>(Lkotlin/coroutines/CoroutineContext;)V
|
||||
|
||||
invoke-virtual {p0, v1, v2}, Landroidx/lifecycle/ViewModel;->setTagIfAbsent(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
const-string v0, "setTagIfAbsent(JOB_KEY,\n\u2026patchers.Main.immediate))"
|
||||
|
||||
invoke-static {p0, v0}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
check-cast p0, Lkotlinx/coroutines/CoroutineScope;
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_1
|
||||
const-string p0, "$this$viewModelScope"
|
||||
|
||||
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
200
com.discord/smali/androidx/lifecycle/ViewModelLazy.smali
Normal file
200
com.discord/smali/androidx/lifecycle/ViewModelLazy.smali
Normal file
|
@ -0,0 +1,200 @@
|
|||
.class public final Landroidx/lifecycle/ViewModelLazy;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewModelProvider.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/Lazy;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<VM:",
|
||||
"Landroidx/lifecycle/ViewModel;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lkotlin/Lazy<",
|
||||
"TVM;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public cached:Landroidx/lifecycle/ViewModel;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"TVM;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final factoryProducer:Lkotlin/jvm/functions/Function0;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Landroidx/lifecycle/ViewModelProvider$Factory;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final storeProducer:Lkotlin/jvm/functions/Function0;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Landroidx/lifecycle/ViewModelStore;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final viewModelClass:Lj0/r/b;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lj0/r/b<",
|
||||
"TVM;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lj0/r/b;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lj0/r/b<",
|
||||
"TVM;>;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"+",
|
||||
"Landroidx/lifecycle/ViewModelStore;",
|
||||
">;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"+",
|
||||
"Landroidx/lifecycle/ViewModelProvider$Factory;",
|
||||
">;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p1, :cond_2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Landroidx/lifecycle/ViewModelLazy;->viewModelClass:Lj0/r/b;
|
||||
|
||||
iput-object p2, p0, Landroidx/lifecycle/ViewModelLazy;->storeProducer:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
iput-object p3, p0, Landroidx/lifecycle/ViewModelLazy;->factoryProducer:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "factoryProducer"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p1, "storeProducer"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string p1, "viewModelClass"
|
||||
|
||||
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public getValue()Landroidx/lifecycle/ViewModel;
|
||||
.locals 3
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"()TVM;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ViewModelLazy;->cached:Landroidx/lifecycle/ViewModel;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ViewModelLazy;->factoryProducer:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-interface {v0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
|
||||
iget-object v1, p0, Landroidx/lifecycle/ViewModelLazy;->storeProducer:Lkotlin/jvm/functions/Function0;
|
||||
|
||||
invoke-interface {v1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
check-cast v1, Landroidx/lifecycle/ViewModelStore;
|
||||
|
||||
new-instance v2, Landroidx/lifecycle/ViewModelProvider;
|
||||
|
||||
invoke-direct {v2, v1, v0}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStore;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ViewModelLazy;->viewModelClass:Lj0/r/b;
|
||||
|
||||
invoke-static {v0}, Lj0/i/u;->getJavaClass(Lj0/r/b;)Ljava/lang/Class;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-virtual {v2, v0}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Landroidx/lifecycle/ViewModelLazy;->cached:Landroidx/lifecycle/ViewModel;
|
||||
|
||||
const-string v1, "ViewModelProvider(store,\u2026ed = it\n }"
|
||||
|
||||
invoke-static {v0, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public bridge synthetic getValue()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/lifecycle/ViewModelLazy;->getValue()Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public isInitialized()Z
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Landroidx/lifecycle/ViewModelLazy;->cached:Landroidx/lifecycle/ViewModel;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
|
@ -1,5 +1,5 @@
|
|||
.class public abstract Landroidx/lifecycle/ViewModelProvider$KeyedFactory;
|
||||
.super Ljava/lang/Object;
|
||||
.super Landroidx/lifecycle/ViewModelProvider$OnRequeryFactory;
|
||||
.source "ViewModelProvider.java"
|
||||
|
||||
# interfaces
|
||||
|
@ -21,7 +21,7 @@
|
|||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
invoke-direct {p0}, Landroidx/lifecycle/ViewModelProvider$OnRequeryFactory;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static sInstance:Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
@ -26,6 +30,27 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public static getInstance()Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
sget-object v0, Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;->sInstance:Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
new-instance v0, Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;
|
||||
|
||||
invoke-direct {v0}, Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;-><init>()V
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;->sInstance:Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;->sInstance:Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
.class public Landroidx/lifecycle/ViewModelProvider$OnRequeryFactory;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewModelProvider.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/ViewModelProvider;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "OnRequeryFactory"
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onRequery(Landroidx/lifecycle/ViewModel;)V
|
||||
.locals 0
|
||||
.param p1 # Landroidx/lifecycle/ViewModel;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -9,6 +9,7 @@
|
|||
Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;,
|
||||
Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;,
|
||||
Landroidx/lifecycle/ViewModelProvider$KeyedFactory;,
|
||||
Landroidx/lifecycle/ViewModelProvider$OnRequeryFactory;,
|
||||
Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
}
|
||||
.end annotation
|
||||
|
@ -45,6 +46,40 @@
|
|||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroidx/lifecycle/ViewModelStoreOwner;)V
|
||||
.locals 2
|
||||
.param p1 # Landroidx/lifecycle/ViewModelStoreOwner;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
|
||||
invoke-interface {p1}, Landroidx/lifecycle/ViewModelStoreOwner;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
instance-of v1, p1, Landroidx/lifecycle/HasDefaultViewModelProviderFactory;
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/HasDefaultViewModelProviderFactory;
|
||||
|
||||
invoke-interface {p1}, Landroidx/lifecycle/HasDefaultViewModelProviderFactory;->getDefaultViewModelProviderFactory()Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;->getInstance()Landroidx/lifecycle/ViewModelProvider$NewInstanceFactory;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_0
|
||||
invoke-direct {p0, v0, p1}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStore;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>(Landroidx/lifecycle/ViewModelStoreOwner;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
||||
.locals 0
|
||||
.param p1 # Landroidx/lifecycle/ViewModelStoreOwner;
|
||||
|
@ -162,16 +197,27 @@
|
|||
|
||||
move-result v1
|
||||
|
||||
if-eqz v1, :cond_0
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
return-object v0
|
||||
iget-object p1, p0, Landroidx/lifecycle/ViewModelProvider;->mFactory:Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
|
||||
instance-of p2, p1, Landroidx/lifecycle/ViewModelProvider$OnRequeryFactory;
|
||||
|
||||
if-eqz p2, :cond_0
|
||||
|
||||
check-cast p1, Landroidx/lifecycle/ViewModelProvider$OnRequeryFactory;
|
||||
|
||||
invoke-virtual {p1, v0}, Landroidx/lifecycle/ViewModelProvider$OnRequeryFactory;->onRequery(Landroidx/lifecycle/ViewModel;)V
|
||||
|
||||
:cond_0
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
iget-object v0, p0, Landroidx/lifecycle/ViewModelProvider;->mFactory:Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
|
||||
instance-of v1, v0, Landroidx/lifecycle/ViewModelProvider$KeyedFactory;
|
||||
|
||||
if-eqz v1, :cond_1
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
check-cast v0, Landroidx/lifecycle/ViewModelProvider$KeyedFactory;
|
||||
|
||||
|
@ -181,7 +227,7 @@
|
|||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
:cond_2
|
||||
invoke-interface {v0, p2}, Landroidx/lifecycle/ViewModelProvider$Factory;->create(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
||||
|
||||
move-result-object p2
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
.class public final Landroidx/lifecycle/ViewModelProviderKt;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewModelProvider.kt"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static final get(Landroidx/lifecycle/ViewModelProvider;)Landroidx/lifecycle/ViewModel;
|
||||
.locals 1
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<VM:",
|
||||
"Landroidx/lifecycle/ViewModel;",
|
||||
">(",
|
||||
"Landroidx/lifecycle/ViewModelProvider;",
|
||||
")TVM;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
invoke-static {}, Lj0/n/c/h;->reifiedOperationMarker()V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_0
|
||||
const-string p0, "$this$get"
|
||||
|
||||
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
|
@ -1,33 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ViewModelProviders$DefaultFactory;
|
||||
.super Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;
|
||||
.source "ViewModelProviders.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/ViewModelProviders;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "DefaultFactory"
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Landroid/app/Application;)V
|
||||
.locals 0
|
||||
.param p1 # Landroid/app/Application;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;-><init>(Landroid/app/Application;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,187 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ViewModelProviders;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewModelProviders.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/lifecycle/ViewModelProviders$DefaultFactory;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static checkActivity(Landroidx/fragment/app/Fragment;)Landroid/app/Activity;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Can\'t create ViewModelProvider for detached fragment"
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static checkApplication(Landroid/app/Activity;)Landroid/app/Application;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroid/app/Activity;->getApplication()Landroid/app/Application;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
if-eqz p0, :cond_0
|
||||
|
||||
return-object p0
|
||||
|
||||
:cond_0
|
||||
new-instance p0, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Your activity/fragment is not yet attached to Application. You can\'t request ViewModel before onCreate call."
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static of(Landroidx/fragment/app/Fragment;)Landroidx/lifecycle/ViewModelProvider;
|
||||
.locals 1
|
||||
.param p0 # Landroidx/fragment/app/Fragment;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {p0, v0}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/Fragment;Landroidx/lifecycle/ViewModelProvider$Factory;)Landroidx/lifecycle/ViewModelProvider;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static of(Landroidx/fragment/app/Fragment;Landroidx/lifecycle/ViewModelProvider$Factory;)Landroidx/lifecycle/ViewModelProvider;
|
||||
.locals 1
|
||||
.param p0 # Landroidx/fragment/app/Fragment;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
invoke-static {p0}, Landroidx/lifecycle/ViewModelProviders;->checkActivity(Landroidx/fragment/app/Fragment;)Landroid/app/Activity;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {v0}, Landroidx/lifecycle/ViewModelProviders;->checkApplication(Landroid/app/Activity;)Landroid/app/Application;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-static {v0}, Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;->getInstance(Landroid/app/Application;)Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Landroidx/lifecycle/ViewModelProvider;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-direct {v0, p0, p1}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStore;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public static of(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelProvider;
|
||||
.locals 1
|
||||
.param p0 # Landroidx/fragment/app/FragmentActivity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {p0, v0}, Landroidx/lifecycle/ViewModelProviders;->of(Landroidx/fragment/app/FragmentActivity;Landroidx/lifecycle/ViewModelProvider$Factory;)Landroidx/lifecycle/ViewModelProvider;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static of(Landroidx/fragment/app/FragmentActivity;Landroidx/lifecycle/ViewModelProvider$Factory;)Landroidx/lifecycle/ViewModelProvider;
|
||||
.locals 1
|
||||
.param p0 # Landroidx/fragment/app/FragmentActivity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.param p1 # Landroidx/lifecycle/ViewModelProvider$Factory;
|
||||
.annotation build Landroidx/annotation/Nullable;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
invoke-static {p0}, Landroidx/lifecycle/ViewModelProviders;->checkApplication(Landroid/app/Activity;)Landroid/app/Application;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-nez p1, :cond_0
|
||||
|
||||
invoke-static {v0}, Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;->getInstance(Landroid/app/Application;)Landroidx/lifecycle/ViewModelProvider$AndroidViewModelFactory;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Landroidx/lifecycle/ViewModelProvider;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/activity/ComponentActivity;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
invoke-direct {v0, p0, p1}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStore;Landroidx/lifecycle/ViewModelProvider$Factory;)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,62 +0,0 @@
|
|||
.class public Landroidx/lifecycle/ViewModelStores;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ViewModelStores.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static of(Landroidx/fragment/app/Fragment;)Landroidx/lifecycle/ViewModelStore;
|
||||
.locals 0
|
||||
.param p0 # Landroidx/fragment/app/Fragment;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public static of(Landroidx/fragment/app/FragmentActivity;)Landroidx/lifecycle/ViewModelStore;
|
||||
.locals 0
|
||||
.param p0 # Landroidx/fragment/app/FragmentActivity;
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
.end param
|
||||
.annotation build Landroidx/annotation/MainThread;
|
||||
.end annotation
|
||||
|
||||
.annotation build Landroidx/annotation/NonNull;
|
||||
.end annotation
|
||||
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
invoke-virtual {p0}, Landroidx/activity/ComponentActivity;->getViewModelStore()Landroidx/lifecycle/ViewModelStore;
|
||||
|
||||
move-result-object p0
|
||||
|
||||
return-object p0
|
||||
.end method
|
|
@ -1,68 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$attr;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "attr"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final alpha:I = 0x7f040036
|
||||
|
||||
.field public static final coordinatorLayoutStyle:I = 0x7f040140
|
||||
|
||||
.field public static final font:I = 0x7f0401ee
|
||||
|
||||
.field public static final fontProviderAuthority:I = 0x7f0401f0
|
||||
|
||||
.field public static final fontProviderCerts:I = 0x7f0401f1
|
||||
|
||||
.field public static final fontProviderFetchStrategy:I = 0x7f0401f2
|
||||
|
||||
.field public static final fontProviderFetchTimeout:I = 0x7f0401f3
|
||||
|
||||
.field public static final fontProviderPackage:I = 0x7f0401f4
|
||||
|
||||
.field public static final fontProviderQuery:I = 0x7f0401f5
|
||||
|
||||
.field public static final fontStyle:I = 0x7f0401f6
|
||||
|
||||
.field public static final fontVariationSettings:I = 0x7f0401f7
|
||||
|
||||
.field public static final fontWeight:I = 0x7f0401f8
|
||||
|
||||
.field public static final keylines:I = 0x7f0402d0
|
||||
|
||||
.field public static final layout_anchor:I = 0x7f0402d8
|
||||
|
||||
.field public static final layout_anchorGravity:I = 0x7f0402d9
|
||||
|
||||
.field public static final layout_behavior:I = 0x7f0402da
|
||||
|
||||
.field public static final layout_dodgeInsetEdges:I = 0x7f040306
|
||||
|
||||
.field public static final layout_insetEdge:I = 0x7f040312
|
||||
|
||||
.field public static final layout_keyline:I = 0x7f040313
|
||||
|
||||
.field public static final statusBarBackground:I = 0x7f04043c
|
||||
|
||||
.field public static final ttcIndex:I = 0x7f040504
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,34 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$color;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "color"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_color_filter:I = 0x7f060137
|
||||
|
||||
.field public static final notification_icon_bg_color:I = 0x7f060138
|
||||
|
||||
.field public static final ripple_material_light:I = 0x7f0601bd
|
||||
|
||||
.field public static final secondary_text_default_material_light:I = 0x7f0601c1
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,70 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$dimen;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "dimen"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final compat_button_inset_horizontal_material:I = 0x7f070071
|
||||
|
||||
.field public static final compat_button_inset_vertical_material:I = 0x7f070072
|
||||
|
||||
.field public static final compat_button_padding_horizontal_material:I = 0x7f070073
|
||||
|
||||
.field public static final compat_button_padding_vertical_material:I = 0x7f070074
|
||||
|
||||
.field public static final compat_control_corner_material:I = 0x7f070075
|
||||
|
||||
.field public static final compat_notification_large_icon_max_height:I = 0x7f070076
|
||||
|
||||
.field public static final compat_notification_large_icon_max_width:I = 0x7f070077
|
||||
|
||||
.field public static final notification_action_icon_size:I = 0x7f070173
|
||||
|
||||
.field public static final notification_action_text_size:I = 0x7f070174
|
||||
|
||||
.field public static final notification_big_circle_margin:I = 0x7f070175
|
||||
|
||||
.field public static final notification_content_margin_start:I = 0x7f070176
|
||||
|
||||
.field public static final notification_large_icon_height:I = 0x7f070177
|
||||
|
||||
.field public static final notification_large_icon_width:I = 0x7f070178
|
||||
|
||||
.field public static final notification_main_column_padding_top:I = 0x7f070179
|
||||
|
||||
.field public static final notification_media_narrow_margin:I = 0x7f07017a
|
||||
|
||||
.field public static final notification_right_icon_size:I = 0x7f07017b
|
||||
|
||||
.field public static final notification_right_side_padding_top:I = 0x7f07017c
|
||||
|
||||
.field public static final notification_small_icon_background_padding:I = 0x7f07017d
|
||||
|
||||
.field public static final notification_small_icon_size_as_large:I = 0x7f07017e
|
||||
|
||||
.field public static final notification_subtext_size:I = 0x7f07017f
|
||||
|
||||
.field public static final notification_top_pad:I = 0x7f070180
|
||||
|
||||
.field public static final notification_top_pad_large_text:I = 0x7f070181
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,50 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$drawable;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "drawable"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action_background:I = 0x7f080531
|
||||
|
||||
.field public static final notification_bg:I = 0x7f080532
|
||||
|
||||
.field public static final notification_bg_low:I = 0x7f080533
|
||||
|
||||
.field public static final notification_bg_low_normal:I = 0x7f080534
|
||||
|
||||
.field public static final notification_bg_low_pressed:I = 0x7f080535
|
||||
|
||||
.field public static final notification_bg_normal:I = 0x7f080536
|
||||
|
||||
.field public static final notification_bg_normal_pressed:I = 0x7f080537
|
||||
|
||||
.field public static final notification_icon_background:I = 0x7f080538
|
||||
|
||||
.field public static final notification_template_icon_bg:I = 0x7f080539
|
||||
|
||||
.field public static final notification_template_icon_low_bg:I = 0x7f08053a
|
||||
|
||||
.field public static final notification_tile_bg:I = 0x7f08053b
|
||||
|
||||
.field public static final notify_panel_notification_icon_bg:I = 0x7f08053c
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,96 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$id;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "id"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final action_container:I = 0x7f0a0040
|
||||
|
||||
.field public static final action_divider:I = 0x7f0a0042
|
||||
|
||||
.field public static final action_image:I = 0x7f0a0043
|
||||
|
||||
.field public static final action_text:I = 0x7f0a0049
|
||||
|
||||
.field public static final actions:I = 0x7f0a004a
|
||||
|
||||
.field public static final async:I = 0x7f0a0096
|
||||
|
||||
.field public static final blocking:I = 0x7f0a00f1
|
||||
|
||||
.field public static final bottom:I = 0x7f0a011b
|
||||
|
||||
.field public static final chronometer:I = 0x7f0a0251
|
||||
|
||||
.field public static final end:I = 0x7f0a0310
|
||||
|
||||
.field public static final forever:I = 0x7f0a0372
|
||||
|
||||
.field public static final icon:I = 0x7f0a044d
|
||||
|
||||
.field public static final icon_group:I = 0x7f0a044f
|
||||
|
||||
.field public static final info:I = 0x7f0a046b
|
||||
|
||||
.field public static final italic:I = 0x7f0a049d
|
||||
|
||||
.field public static final left:I = 0x7f0a04e9
|
||||
|
||||
.field public static final line1:I = 0x7f0a04eb
|
||||
|
||||
.field public static final line3:I = 0x7f0a04ec
|
||||
|
||||
.field public static final none:I = 0x7f0a05a0
|
||||
|
||||
.field public static final normal:I = 0x7f0a05a1
|
||||
|
||||
.field public static final notification_background:I = 0x7f0a05ab
|
||||
|
||||
.field public static final notification_main_column:I = 0x7f0a05ac
|
||||
|
||||
.field public static final notification_main_column_container:I = 0x7f0a05ad
|
||||
|
||||
.field public static final right:I = 0x7f0a06f5
|
||||
|
||||
.field public static final right_icon:I = 0x7f0a06f6
|
||||
|
||||
.field public static final right_side:I = 0x7f0a06f7
|
||||
|
||||
.field public static final start:I = 0x7f0a08c9
|
||||
|
||||
.field public static final tag_transition_group:I = 0x7f0a0905
|
||||
|
||||
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a0906
|
||||
|
||||
.field public static final tag_unhandled_key_listeners:I = 0x7f0a0907
|
||||
|
||||
.field public static final text:I = 0x7f0a090f
|
||||
|
||||
.field public static final text2:I = 0x7f0a0910
|
||||
|
||||
.field public static final time:I = 0x7f0a091f
|
||||
|
||||
.field public static final title:I = 0x7f0a0920
|
||||
|
||||
.field public static final top:I = 0x7f0a0927
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,28 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$integer;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "integer"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_maxnum:I = 0x7f0b0018
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,38 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$layout;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "layout"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final notification_action:I = 0x7f0d007c
|
||||
|
||||
.field public static final notification_action_tombstone:I = 0x7f0d007d
|
||||
|
||||
.field public static final notification_template_custom_big:I = 0x7f0d0085
|
||||
|
||||
.field public static final notification_template_icon_group:I = 0x7f0d0086
|
||||
|
||||
.field public static final notification_template_part_chronometer:I = 0x7f0d008a
|
||||
|
||||
.field public static final notification_template_part_time:I = 0x7f0d008b
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,28 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$string;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "string"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final status_bar_notification_info_overflow:I = 0x7f121378
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,42 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$style;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "style"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final TextAppearance_Compat_Notification:I = 0x7f130213
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f130214
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f130216
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f130219
|
||||
|
||||
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f13021b
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1303c3
|
||||
|
||||
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1303c4
|
||||
|
||||
.field public static final Widget_Support_CoordinatorLayout:I = 0x7f13042b
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,254 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R$styleable;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Landroidx/lifecycle/extensions/R;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x19
|
||||
name = "styleable"
|
||||
.end annotation
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final ColorStateListItem:[I
|
||||
|
||||
.field public static final ColorStateListItem_alpha:I = 0x2
|
||||
|
||||
.field public static final ColorStateListItem_android_alpha:I = 0x1
|
||||
|
||||
.field public static final ColorStateListItem_android_color:I = 0x0
|
||||
|
||||
.field public static final CoordinatorLayout:[I
|
||||
|
||||
.field public static final CoordinatorLayout_Layout:[I
|
||||
|
||||
.field public static final CoordinatorLayout_Layout_android_layout_gravity:I = 0x0
|
||||
|
||||
.field public static final CoordinatorLayout_Layout_layout_anchor:I = 0x1
|
||||
|
||||
.field public static final CoordinatorLayout_Layout_layout_anchorGravity:I = 0x2
|
||||
|
||||
.field public static final CoordinatorLayout_Layout_layout_behavior:I = 0x3
|
||||
|
||||
.field public static final CoordinatorLayout_Layout_layout_dodgeInsetEdges:I = 0x4
|
||||
|
||||
.field public static final CoordinatorLayout_Layout_layout_insetEdge:I = 0x5
|
||||
|
||||
.field public static final CoordinatorLayout_Layout_layout_keyline:I = 0x6
|
||||
|
||||
.field public static final CoordinatorLayout_keylines:I = 0x0
|
||||
|
||||
.field public static final CoordinatorLayout_statusBarBackground:I = 0x1
|
||||
|
||||
.field public static final FontFamily:[I
|
||||
|
||||
.field public static final FontFamilyFont:[I
|
||||
|
||||
.field public static final FontFamilyFont_android_font:I = 0x0
|
||||
|
||||
.field public static final FontFamilyFont_android_fontStyle:I = 0x2
|
||||
|
||||
.field public static final FontFamilyFont_android_fontVariationSettings:I = 0x4
|
||||
|
||||
.field public static final FontFamilyFont_android_fontWeight:I = 0x1
|
||||
|
||||
.field public static final FontFamilyFont_android_ttcIndex:I = 0x3
|
||||
|
||||
.field public static final FontFamilyFont_font:I = 0x5
|
||||
|
||||
.field public static final FontFamilyFont_fontStyle:I = 0x6
|
||||
|
||||
.field public static final FontFamilyFont_fontVariationSettings:I = 0x7
|
||||
|
||||
.field public static final FontFamilyFont_fontWeight:I = 0x8
|
||||
|
||||
.field public static final FontFamilyFont_ttcIndex:I = 0x9
|
||||
|
||||
.field public static final FontFamily_fontProviderAuthority:I = 0x0
|
||||
|
||||
.field public static final FontFamily_fontProviderCerts:I = 0x1
|
||||
|
||||
.field public static final FontFamily_fontProviderFetchStrategy:I = 0x2
|
||||
|
||||
.field public static final FontFamily_fontProviderFetchTimeout:I = 0x3
|
||||
|
||||
.field public static final FontFamily_fontProviderPackage:I = 0x4
|
||||
|
||||
.field public static final FontFamily_fontProviderQuery:I = 0x5
|
||||
|
||||
.field public static final GradientColor:[I
|
||||
|
||||
.field public static final GradientColorItem:[I
|
||||
|
||||
.field public static final GradientColorItem_android_color:I = 0x0
|
||||
|
||||
.field public static final GradientColorItem_android_offset:I = 0x1
|
||||
|
||||
.field public static final GradientColor_android_centerColor:I = 0x7
|
||||
|
||||
.field public static final GradientColor_android_centerX:I = 0x3
|
||||
|
||||
.field public static final GradientColor_android_centerY:I = 0x4
|
||||
|
||||
.field public static final GradientColor_android_endColor:I = 0x1
|
||||
|
||||
.field public static final GradientColor_android_endX:I = 0xa
|
||||
|
||||
.field public static final GradientColor_android_endY:I = 0xb
|
||||
|
||||
.field public static final GradientColor_android_gradientRadius:I = 0x5
|
||||
|
||||
.field public static final GradientColor_android_startColor:I = 0x0
|
||||
|
||||
.field public static final GradientColor_android_startX:I = 0x8
|
||||
|
||||
.field public static final GradientColor_android_startY:I = 0x9
|
||||
|
||||
.field public static final GradientColor_android_tileMode:I = 0x6
|
||||
|
||||
.field public static final GradientColor_android_type:I = 0x2
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 2
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_0
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/extensions/R$styleable;->ColorStateListItem:[I
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
new-array v1, v0, [I
|
||||
|
||||
fill-array-data v1, :array_1
|
||||
|
||||
sput-object v1, Landroidx/lifecycle/extensions/R$styleable;->CoordinatorLayout:[I
|
||||
|
||||
const/4 v1, 0x7
|
||||
|
||||
new-array v1, v1, [I
|
||||
|
||||
fill-array-data v1, :array_2
|
||||
|
||||
sput-object v1, Landroidx/lifecycle/extensions/R$styleable;->CoordinatorLayout_Layout:[I
|
||||
|
||||
const/4 v1, 0x6
|
||||
|
||||
new-array v1, v1, [I
|
||||
|
||||
fill-array-data v1, :array_3
|
||||
|
||||
sput-object v1, Landroidx/lifecycle/extensions/R$styleable;->FontFamily:[I
|
||||
|
||||
const/16 v1, 0xa
|
||||
|
||||
new-array v1, v1, [I
|
||||
|
||||
fill-array-data v1, :array_4
|
||||
|
||||
sput-object v1, Landroidx/lifecycle/extensions/R$styleable;->FontFamilyFont:[I
|
||||
|
||||
const/16 v1, 0xc
|
||||
|
||||
new-array v1, v1, [I
|
||||
|
||||
fill-array-data v1, :array_5
|
||||
|
||||
sput-object v1, Landroidx/lifecycle/extensions/R$styleable;->GradientColor:[I
|
||||
|
||||
new-array v0, v0, [I
|
||||
|
||||
fill-array-data v0, :array_6
|
||||
|
||||
sput-object v0, Landroidx/lifecycle/extensions/R$styleable;->GradientColorItem:[I
|
||||
|
||||
return-void
|
||||
|
||||
:array_0
|
||||
.array-data 4
|
||||
0x10101a5
|
||||
0x101031f
|
||||
0x7f040036
|
||||
.end array-data
|
||||
|
||||
:array_1
|
||||
.array-data 4
|
||||
0x7f0402d0
|
||||
0x7f04043c
|
||||
.end array-data
|
||||
|
||||
:array_2
|
||||
.array-data 4
|
||||
0x10100b3
|
||||
0x7f0402d8
|
||||
0x7f0402d9
|
||||
0x7f0402da
|
||||
0x7f040306
|
||||
0x7f040312
|
||||
0x7f040313
|
||||
.end array-data
|
||||
|
||||
:array_3
|
||||
.array-data 4
|
||||
0x7f0401f0
|
||||
0x7f0401f1
|
||||
0x7f0401f2
|
||||
0x7f0401f3
|
||||
0x7f0401f4
|
||||
0x7f0401f5
|
||||
.end array-data
|
||||
|
||||
:array_4
|
||||
.array-data 4
|
||||
0x1010532
|
||||
0x1010533
|
||||
0x101053f
|
||||
0x101056f
|
||||
0x1010570
|
||||
0x7f0401ee
|
||||
0x7f0401f6
|
||||
0x7f0401f7
|
||||
0x7f0401f8
|
||||
0x7f040504
|
||||
.end array-data
|
||||
|
||||
:array_5
|
||||
.array-data 4
|
||||
0x101019d
|
||||
0x101019e
|
||||
0x10101a1
|
||||
0x10101a2
|
||||
0x10101a3
|
||||
0x10101a4
|
||||
0x1010201
|
||||
0x101020b
|
||||
0x1010510
|
||||
0x1010511
|
||||
0x1010512
|
||||
0x1010513
|
||||
.end array-data
|
||||
|
||||
:array_6
|
||||
.array-data 4
|
||||
0x10101a5
|
||||
0x1010514
|
||||
.end array-data
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,30 +0,0 @@
|
|||
.class public final Landroidx/lifecycle/extensions/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Landroidx/lifecycle/extensions/R$styleable;,
|
||||
Landroidx/lifecycle/extensions/R$style;,
|
||||
Landroidx/lifecycle/extensions/R$string;,
|
||||
Landroidx/lifecycle/extensions/R$layout;,
|
||||
Landroidx/lifecycle/extensions/R$integer;,
|
||||
Landroidx/lifecycle/extensions/R$id;,
|
||||
Landroidx/lifecycle/extensions/R$drawable;,
|
||||
Landroidx/lifecycle/extensions/R$dimen;,
|
||||
Landroidx/lifecycle/extensions/R$color;,
|
||||
Landroidx/lifecycle/extensions/R$attr;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,6 +1,5 @@
|
|||
.class public final Landroidx/lifecycle/process/R;
|
||||
.class public final Landroidx/lifecycle/ktx/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
|
@ -1,6 +1,5 @@
|
|||
.class public final Landroidx/lifecycle/livedata/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
.class public final Landroidx/lifecycle/livedata/core/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
.class public final Landroidx/lifecycle/livedata/core/ktx/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,6 +1,5 @@
|
|||
.class public final Landroidx/lifecycle/service/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
.class public final Landroidx/lifecycle/viewmodel/R;
|
||||
.super Ljava/lang/Object;
|
||||
.source "R.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
12
com.discord/smali/androidx/lifecycle/viewmodel/ktx/R.smali
Normal file
12
com.discord/smali/androidx/lifecycle/viewmodel/ktx/R.smali
Normal file
|
@ -0,0 +1,12 @@
|
|||
.class public final Landroidx/lifecycle/viewmodel/ktx/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -0,0 +1,12 @@
|
|||
.class public final Landroidx/lifecycle/viewmodel/savedstate/R;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue