GlobalInterface.smali

.class public abstract Lsg/bigo/chunklink/GlobalInterface;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lsg/bigo/chunklink/GlobalInterface$CppProxy;
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .registers 1

    .line 12
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static create()Lsg/bigo/chunklink/ChunkLink;
    .registers 2

    .line 16
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_15

    .line 18
    :try_start_6
    invoke-static {}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->create()Lsg/bigo/chunklink/ChunkLink;

    move-result-object v0
    :try_end_a
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_a} :catch_b

    return-object v0

    .line 21
    :catch_b
    :try_start_b
    invoke-static {}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->create()Lsg/bigo/chunklink/ChunkLink;

    move-result-object v0
    :try_end_f
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_b .. :try_end_f} :catch_10

    return-object v0

    .line 23
    :catch_10
    invoke-static {}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->create()Lsg/bigo/chunklink/ChunkLink;

    move-result-object v0

    return-object v0

    .line 27
    :cond_15
    invoke-static {}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->create()Lsg/bigo/chunklink/ChunkLink;

    move-result-object v0

    return-object v0
.end method

.method public static setLogger(Lsg/bigo/chunklink/Logger;ZI)V
    .registers 5

    .line 33
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-ge v0, v1, :cond_12

    .line 35
    :try_start_6
    invoke-static {p0, p1, p2}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->setLogger(Lsg/bigo/chunklink/Logger;ZI)V
    :try_end_9
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_6 .. :try_end_9} :catch_a

    return-void

    .line 40
    :catch_a
    :try_start_a
    invoke-static {p0, p1, p2}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->setLogger(Lsg/bigo/chunklink/Logger;ZI)V
    :try_end_d
    .catch Ljava/lang/UnsatisfiedLinkError; {:try_start_a .. :try_end_d} :catch_e

    return-void

    .line 44
    :catch_e
    invoke-static {p0, p1, p2}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->setLogger(Lsg/bigo/chunklink/Logger;ZI)V

    return-void

    .line 50
    :cond_12
    invoke-static {p0, p1, p2}, Lsg/bigo/chunklink/GlobalInterface$CppProxy;->setLogger(Lsg/bigo/chunklink/Logger;ZI)V

    return-void
.end method