granularity level: instruction
.class public final Landroidx/core/content/ContentResolverCompat;
.super Ljava/lang/Object;
.source "ContentResolverCompat.java"
.method private 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
const/16 v1, 0x10
if-lt v0, v1, :cond_2
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 p6, v6
check-cast p6, 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
:cond_2
if-eqz p6, :cond_3
invoke-virtual {p6}, Landroidx/core/os/CancellationSignal;->throwIfCanceled()V
:cond_3
invoke-virtual/range {p0 .. p5}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
move-result-object p0
return-object p0
.end method