58 lines
1.3 KiB
Smali
58 lines
1.3 KiB
Smali
.class public final Landroidx/core/database/CursorWindowCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "CursorWindowCompat.java"
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static create(Ljava/lang/String;J)Landroid/database/CursorWindow;
|
|
.locals 2
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1c
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
new-instance v0, Landroid/database/CursorWindow;
|
|
|
|
invoke-direct {v0, p0, p1, p2}, Landroid/database/CursorWindow;-><init>(Ljava/lang/String;J)V
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 p2, 0xf
|
|
|
|
if-lt p1, p2, :cond_1
|
|
|
|
new-instance p1, Landroid/database/CursorWindow;
|
|
|
|
invoke-direct {p1, p0}, Landroid/database/CursorWindow;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
new-instance p0, Landroid/database/CursorWindow;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Landroid/database/CursorWindow;-><init>(Z)V
|
|
|
|
return-object p0
|
|
.end method
|