634 lines
18 KiB
Smali
634 lines
18 KiB
Smali
|
.class public Landroidx/loader/content/CursorLoader;
|
||
|
.super Landroidx/loader/content/AsyncTaskLoader;
|
||
|
.source "CursorLoader.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Landroidx/loader/content/AsyncTaskLoader<",
|
||
|
"Landroid/database/Cursor;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field mCancellationSignal:Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
.field mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
.field final mObserver:Landroidx/loader/content/Loader$ForceLoadContentObserver;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Landroidx/loader/content/Loader<",
|
||
|
"Landroid/database/Cursor;",
|
||
|
">.Force",
|
||
|
"LoadContentObserver;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field mProjection:[Ljava/lang/String;
|
||
|
|
||
|
.field mSelection:Ljava/lang/String;
|
||
|
|
||
|
.field mSelectionArgs:[Ljava/lang/String;
|
||
|
|
||
|
.field mSortOrder:Ljava/lang/String;
|
||
|
|
||
|
.field mUri:Landroid/net/Uri;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroid/content/Context;)V
|
||
|
.locals 0
|
||
|
.param p1 # Landroid/content/Context;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
invoke-direct {p0, p1}, Landroidx/loader/content/AsyncTaskLoader;-><init>(Landroid/content/Context;)V
|
||
|
|
||
|
new-instance p1, Landroidx/loader/content/Loader$ForceLoadContentObserver;
|
||
|
|
||
|
invoke-direct {p1, p0}, Landroidx/loader/content/Loader$ForceLoadContentObserver;-><init>(Landroidx/loader/content/Loader;)V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mObserver:Landroidx/loader/content/Loader$ForceLoadContentObserver;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public constructor <init>(Landroid/content/Context;Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
.param p1 # Landroid/content/Context;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p2 # Landroid/net/Uri;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p3 # [Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p4 # Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p5 # [Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
.param p6 # Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
invoke-direct {p0, p1}, Landroidx/loader/content/AsyncTaskLoader;-><init>(Landroid/content/Context;)V
|
||
|
|
||
|
new-instance p1, Landroidx/loader/content/Loader$ForceLoadContentObserver;
|
||
|
|
||
|
invoke-direct {p1, p0}, Landroidx/loader/content/Loader$ForceLoadContentObserver;-><init>(Landroidx/loader/content/Loader;)V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mObserver:Landroidx/loader/content/Loader$ForceLoadContentObserver;
|
||
|
|
||
|
iput-object p2, p0, Landroidx/loader/content/CursorLoader;->mUri:Landroid/net/Uri;
|
||
|
|
||
|
iput-object p3, p0, Landroidx/loader/content/CursorLoader;->mProjection:[Ljava/lang/String;
|
||
|
|
||
|
iput-object p4, p0, Landroidx/loader/content/CursorLoader;->mSelection:Ljava/lang/String;
|
||
|
|
||
|
iput-object p5, p0, Landroidx/loader/content/CursorLoader;->mSelectionArgs:[Ljava/lang/String;
|
||
|
|
||
|
iput-object p6, p0, Landroidx/loader/content/CursorLoader;->mSortOrder:Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public cancelLoadInBackground()V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-super {p0}, Landroidx/loader/content/AsyncTaskLoader;->cancelLoadInBackground()V
|
||
|
|
||
|
monitor-enter p0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mCancellationSignal:Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mCancellationSignal:Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
invoke-virtual {v0}, Landroidx/core/os/CancellationSignal;->cancel()V
|
||
|
|
||
|
:cond_0
|
||
|
monitor-exit p0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception v0
|
||
|
|
||
|
monitor-exit p0
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public deliverResult(Landroid/database/Cursor;)V
|
||
|
.locals 2
|
||
|
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->isReset()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
invoke-interface {p1}, Landroid/database/Cursor;->close()V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
|
||
|
:cond_1
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->isStarted()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
invoke-super {p0, p1}, Landroidx/loader/content/AsyncTaskLoader;->deliverResult(Ljava/lang/Object;)V
|
||
|
|
||
|
:cond_2
|
||
|
if-eqz v0, :cond_3
|
||
|
|
||
|
if-eq v0, p1, :cond_3
|
||
|
|
||
|
invoke-interface {v0}, Landroid/database/Cursor;->isClosed()Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-nez p1, :cond_3
|
||
|
|
||
|
invoke-interface {v0}, Landroid/database/Cursor;->close()V
|
||
|
|
||
|
:cond_3
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic deliverResult(Ljava/lang/Object;)V
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Landroid/database/Cursor;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Landroidx/loader/content/CursorLoader;->deliverResult(Landroid/database/Cursor;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
.annotation runtime Ljava/lang/Deprecated;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-super {p0, p1, p2, p3, p4}, Landroidx/loader/content/AsyncTaskLoader;->dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
const-string p2, "mUri="
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/loader/content/CursorLoader;->mUri:Landroid/net/Uri;
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
const-string p2, "mProjection="
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/loader/content/CursorLoader;->mProjection:[Ljava/lang/String;
|
||
|
|
||
|
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
const-string p2, "mSelection="
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/loader/content/CursorLoader;->mSelection:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
const-string p2, "mSelectionArgs="
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/loader/content/CursorLoader;->mSelectionArgs:[Ljava/lang/String;
|
||
|
|
||
|
invoke-static {p2}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
const-string p2, "mSortOrder="
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/loader/content/CursorLoader;->mSortOrder:Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
const-string p2, "mCursor="
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p2, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/Object;)V
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
const-string p1, "mContentChanged="
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
|
||
|
|
||
|
iget-boolean p1, p0, Landroidx/loader/content/CursorLoader;->mContentChanged:Z
|
||
|
|
||
|
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->println(Z)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public getProjection()[Ljava/lang/String;
|
||
|
.locals 1
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mProjection:[Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getSelection()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mSelection:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getSelectionArgs()[Ljava/lang/String;
|
||
|
.locals 1
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mSelectionArgs:[Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getSortOrder()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mSortOrder:Ljava/lang/String;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public getUri()Landroid/net/Uri;
|
||
|
.locals 1
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mUri:Landroid/net/Uri;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public loadInBackground()Landroid/database/Cursor;
|
||
|
.locals 9
|
||
|
|
||
|
monitor-enter p0
|
||
|
|
||
|
:try_start_0
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->isLoadInBackgroundCanceled()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
new-instance v0, Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
invoke-direct {v0}, Landroidx/core/os/CancellationSignal;-><init>()V
|
||
|
|
||
|
iput-object v0, p0, Landroidx/loader/content/CursorLoader;->mCancellationSignal:Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
monitor-exit p0
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_3
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
:try_start_1
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->getContext()Landroid/content/Context;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
iget-object v3, p0, Landroidx/loader/content/CursorLoader;->mUri:Landroid/net/Uri;
|
||
|
|
||
|
iget-object v4, p0, Landroidx/loader/content/CursorLoader;->mProjection:[Ljava/lang/String;
|
||
|
|
||
|
iget-object v5, p0, Landroidx/loader/content/CursorLoader;->mSelection:Ljava/lang/String;
|
||
|
|
||
|
iget-object v6, p0, Landroidx/loader/content/CursorLoader;->mSelectionArgs:[Ljava/lang/String;
|
||
|
|
||
|
iget-object v7, p0, Landroidx/loader/content/CursorLoader;->mSortOrder:Ljava/lang/String;
|
||
|
|
||
|
iget-object v8, p0, Landroidx/loader/content/CursorLoader;->mCancellationSignal:Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
invoke-static/range {v2 .. v8}, Landroidx/core/content/ContentResolverCompat;->query(Landroid/content/ContentResolver;Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroidx/core/os/CancellationSignal;)Landroid/database/Cursor;
|
||
|
|
||
|
move-result-object v1
|
||
|
:try_end_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
:try_start_2
|
||
|
invoke-interface {v1}, Landroid/database/Cursor;->getCount()I
|
||
|
|
||
|
iget-object v2, p0, Landroidx/loader/content/CursorLoader;->mObserver:Landroidx/loader/content/Loader$ForceLoadContentObserver;
|
||
|
|
||
|
invoke-interface {v1, v2}, Landroid/database/Cursor;->registerContentObserver(Landroid/database/ContentObserver;)V
|
||
|
:try_end_2
|
||
|
.catch Ljava/lang/RuntimeException; {:try_start_2 .. :try_end_2} :catch_0
|
||
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:catch_0
|
||
|
move-exception v2
|
||
|
|
||
|
:try_start_3
|
||
|
invoke-interface {v1}, Landroid/database/Cursor;->close()V
|
||
|
|
||
|
throw v2
|
||
|
:try_end_3
|
||
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
monitor-enter p0
|
||
|
|
||
|
:try_start_4
|
||
|
iput-object v0, p0, Landroidx/loader/content/CursorLoader;->mCancellationSignal:Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
monitor-exit p0
|
||
|
|
||
|
return-object v1
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception v0
|
||
|
|
||
|
monitor-exit p0
|
||
|
:try_end_4
|
||
|
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:catchall_1
|
||
|
move-exception v1
|
||
|
|
||
|
monitor-enter p0
|
||
|
|
||
|
:try_start_5
|
||
|
iput-object v0, p0, Landroidx/loader/content/CursorLoader;->mCancellationSignal:Landroidx/core/os/CancellationSignal;
|
||
|
|
||
|
monitor-exit p0
|
||
|
:try_end_5
|
||
|
.catchall {:try_start_5 .. :try_end_5} :catchall_2
|
||
|
|
||
|
throw v1
|
||
|
|
||
|
:catchall_2
|
||
|
move-exception v0
|
||
|
|
||
|
:try_start_6
|
||
|
monitor-exit p0
|
||
|
:try_end_6
|
||
|
.catchall {:try_start_6 .. :try_end_6} :catchall_2
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:cond_1
|
||
|
:try_start_7
|
||
|
new-instance v0, Landroidx/core/os/OperationCanceledException;
|
||
|
|
||
|
invoke-direct {v0}, Landroidx/core/os/OperationCanceledException;-><init>()V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
:catchall_3
|
||
|
move-exception v0
|
||
|
|
||
|
monitor-exit p0
|
||
|
:try_end_7
|
||
|
.catchall {:try_start_7 .. :try_end_7} :catchall_3
|
||
|
|
||
|
throw v0
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic loadInBackground()Ljava/lang/Object;
|
||
|
.locals 1
|
||
|
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->loadInBackground()Landroid/database/Cursor;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public onCanceled(Landroid/database/Cursor;)V
|
||
|
.locals 1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
invoke-interface {p1}, Landroid/database/Cursor;->isClosed()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
invoke-interface {p1}, Landroid/database/Cursor;->close()V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic onCanceled(Ljava/lang/Object;)V
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Landroid/database/Cursor;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Landroidx/loader/content/CursorLoader;->onCanceled(Landroid/database/Cursor;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method protected onReset()V
|
||
|
.locals 1
|
||
|
|
||
|
invoke-super {p0}, Landroidx/loader/content/AsyncTaskLoader;->onReset()V
|
||
|
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->onStopLoading()V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-interface {v0}, Landroid/database/Cursor;->isClosed()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
invoke-interface {v0}, Landroid/database/Cursor;->close()V
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method protected onStartLoading()V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/loader/content/CursorLoader;->deliverResult(Landroid/database/Cursor;)V
|
||
|
|
||
|
:cond_0
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->takeContentChanged()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/loader/content/CursorLoader;->mCursor:Landroid/database/Cursor;
|
||
|
|
||
|
if-nez v0, :cond_2
|
||
|
|
||
|
:cond_1
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->forceLoad()V
|
||
|
|
||
|
:cond_2
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method protected onStopLoading()V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-virtual {p0}, Landroidx/loader/content/CursorLoader;->cancelLoad()Z
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public setProjection([Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
.param p1 # [Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mProjection:[Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public setSelection(Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
.param p1 # Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mSelection:Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public setSelectionArgs([Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
.param p1 # [Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mSelectionArgs:[Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public setSortOrder(Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
.param p1 # Ljava/lang/String;
|
||
|
.annotation build Landroidx/annotation/Nullable;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mSortOrder:Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public setUri(Landroid/net/Uri;)V
|
||
|
.locals 0
|
||
|
.param p1 # Landroid/net/Uri;
|
||
|
.annotation build Landroidx/annotation/NonNull;
|
||
|
.end annotation
|
||
|
.end param
|
||
|
|
||
|
iput-object p1, p0, Landroidx/loader/content/CursorLoader;->mUri:Landroid/net/Uri;
|
||
|
|
||
|
return-void
|
||
|
.end method
|