75 lines
1.7 KiB
Smali
75 lines
1.7 KiB
Smali
.class public final Landroidx/core/content/ContentResolverCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "ContentResolverCompat.java"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static 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;
|
|
.locals 7
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p6}, Landroidx/core/os/CancellationSignal;->getCancellationSignalObject()Ljava/lang/Object;
|
|
|
|
move-result-object p6
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 p6, 0x0
|
|
|
|
:goto_0
|
|
move-object v6, p6
|
|
|
|
check-cast v6, Landroid/os/CancellationSignal;
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
invoke-virtual/range {v0 .. v6}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor;
|
|
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:goto_1
|
|
instance-of p1, p0, Landroid/os/OperationCanceledException;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
new-instance p0, Landroidx/core/os/OperationCanceledException;
|
|
|
|
invoke-direct {p0}, Landroidx/core/os/OperationCanceledException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
:cond_1
|
|
throw p0
|
|
.end method
|