.class public Landroidx/core/os/BuildCompat; .super Ljava/lang/Object; .source "BuildCompat.java" # direct methods .method private constructor ()V .registers 1 .line 26 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static isAtLeastN()Z .registers 1 .annotation runtime Ljava/lang/Deprecated; .end annotation const/4 v0, 0x1 return v0 .end method .method public static isAtLeastNMR1()Z .registers 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 52 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x19 if-lt v0, v1, :cond_8 const/4 v0, 0x1 goto :goto_9 :cond_8 const/4 v0, 0x0 :goto_9 return v0 .end method .method public static isAtLeastO()Z .registers 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 65 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1a if-lt v0, v1, :cond_8 const/4 v0, 0x1 goto :goto_9 :cond_8 const/4 v0, 0x0 :goto_9 return v0 .end method .method public static isAtLeastOMR1()Z .registers 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 78 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1b if-lt v0, v1, :cond_8 const/4 v0, 0x1 goto :goto_9 :cond_8 const/4 v0, 0x0 :goto_9 return v0 .end method .method public static isAtLeastP()Z .registers 2 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 91 sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1c if-lt v0, v1, :cond_8 const/4 v0, 0x1 goto :goto_9 :cond_8 const/4 v0, 0x0 :goto_9 return v0 .end method .method public static isAtLeastQ()Z .registers 4 .line 104 sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String; invoke-virtual {v0}, Ljava/lang/String;->length()I move-result v0 const/4 v1, 0x0 const/4 v2, 0x1 if-ne v0, v2, :cond_1f sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String; .line 105 invoke-virtual {v0, v1}, Ljava/lang/String;->charAt(I)C move-result v0 const/16 v3, 0x51 if-lt v0, v3, :cond_1f sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String; .line 106 invoke-virtual {v0, v1}, Ljava/lang/String;->charAt(I)C move-result v0 const/16 v3, 0x5a if-gt v0, v3, :cond_1f move v1, v2 :cond_1f return v1 .end method