Rabbit-R1/original r1/smali/smali_classes2/androidx/loader/content/ModernAsyncTask$InternalHandler.smali
2024-05-21 17:08:36 -04:00

78 lines
1.9 KiB
Smali

.class Landroidx/loader/content/ModernAsyncTask$InternalHandler;
.super Landroid/os/Handler;
.source "ModernAsyncTask.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/loader/content/ModernAsyncTask;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "InternalHandler"
.end annotation
# direct methods
.method constructor <init>()V
.locals 1
.line 497
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-direct {p0, v0}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
return-void
.end method
# virtual methods
.method public handleMessage(Landroid/os/Message;)V
.locals 1
.line 503
iget-object p0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast p0, Landroidx/loader/content/ModernAsyncTask$AsyncTaskResult;
.line 504
iget p1, p1, Landroid/os/Message;->what:I
const/4 v0, 0x1
if-eq p1, v0, :cond_1
const/4 v0, 0x2
if-eq p1, v0, :cond_0
goto :goto_0
.line 510
:cond_0
iget-object p1, p0, Landroidx/loader/content/ModernAsyncTask$AsyncTaskResult;->mTask:Landroidx/loader/content/ModernAsyncTask;
iget-object p0, p0, Landroidx/loader/content/ModernAsyncTask$AsyncTaskResult;->mData:[Ljava/lang/Object;
invoke-virtual {p1, p0}, Landroidx/loader/content/ModernAsyncTask;->onProgressUpdate([Ljava/lang/Object;)V
goto :goto_0
.line 507
:cond_1
iget-object p1, p0, Landroidx/loader/content/ModernAsyncTask$AsyncTaskResult;->mTask:Landroidx/loader/content/ModernAsyncTask;
iget-object p0, p0, Landroidx/loader/content/ModernAsyncTask$AsyncTaskResult;->mData:[Ljava/lang/Object;
const/4 v0, 0x0
aget-object p0, p0, v0
invoke-virtual {p1, p0}, Landroidx/loader/content/ModernAsyncTask;->finish(Ljava/lang/Object;)V
:goto_0
return-void
.end method