.class public Landroidx/core/os/BuildCompat; .super Ljava/lang/Object; .source "BuildCompat.java" # direct methods .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static isAtLeastN()Z .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x18 if-lt v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public static isAtLeastNMR1()Z .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x19 if-lt v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public static isAtLeastO()Z .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1a if-lt v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public static isAtLeastOMR1()Z .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1b if-lt v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public static isAtLeastP()Z .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1c if-lt v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public static isAtLeastQ()Z .locals 2 .annotation runtime Ljava/lang/Deprecated; .end annotation sget v0, Landroid/os/Build$VERSION;->SDK_INT:I const/16 v1, 0x1d if-lt v0, v1, :cond_0 const/4 v0, 0x1 goto :goto_0 :cond_0 const/4 v0, 0x0 :goto_0 return v0 .end method .method public static isAtLeastR()Z .locals 4 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, 0x1 const/4 v2, 0x0 if-ne v0, v1, :cond_0 sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String; invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C move-result v0 const/16 v3, 0x52 if-lt v0, v3, :cond_0 sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String; invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C move-result v0 const/16 v3, 0x5a if-gt v0, v3, :cond_0 goto :goto_0 :cond_0 const/4 v1, 0x0 :goto_0 return v1 .end method