PlatformVersion.smali
.class public final Lcom/google/android/gms/common/util/PlatformVersion;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation build Lcom/google/android/gms/common/util/VisibleForTesting;
.end annotation
# direct methods
.method private constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static isAtLeastHoneycomb()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastHoneycombMR1()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastIceCreamSandwich()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastIceCreamSandwichMR1()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastJellyBean()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastJellyBeanMR1()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastJellyBeanMR2()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastKitKat()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastKitKatWatch()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastLollipop()Z
.registers 1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastLollipopMR1()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x16
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastM()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x17
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastN()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x18
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastO()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1a
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastP()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1c
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastQ()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1d
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastR()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1e
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastS()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x1f
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastSv2()Z
.registers 2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x20
if-lt v0, v1, :cond_8
const/4 v0, 0x1
return v0
:cond_8
const/4 v0, 0x0
return v0
.end method
.method public static isAtLeastT()Z
.registers 3
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0x21
if-ge v0, v1, :cond_13
sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Ljava/lang/String;->charAt(I)C
move-result v0
const/16 v2, 0x54
if-ne v0, v2, :cond_12
goto :goto_13
:cond_12
return v1
:cond_13
:goto_13
const/4 v0, 0x1
return v0
.end method
.method public static isAtLeastU()Z
.registers 3
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.line 1
invoke-static {}, Lcom/google/android/gms/common/util/PlatformVersion;->isAtLeastT()Z
move-result v0
const/4 v1, 0x0
if-nez v0, :cond_8
return v1
.line 2
:cond_8
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v2, 0x21
if-lt v0, v2, :cond_19
sget-object v0, Landroid/os/Build$VERSION;->CODENAME:Ljava/lang/String;
const-string v0, "UpsideDownCake"
.line 3
invoke-static {v0}, Landroidx/core/os/a;->a(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_19
const/4 v1, 0x1
:cond_19
return v1
.end method