i.smali

.class public final Lsg/bigo/a/a/i;
.super Ljava/lang/Object;
.source "SourceFile"


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

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

    return-void
.end method

.method public static a()Z
    .registers 2

    const/4 v0, 0x0

    .line 1060
    :try_start_1
    sget-object v1, Lsg/bigo/b/c/a$a;->a:Lsg/bigo/b/c/a;

    .line 24
    invoke-static {}, Lsg/bigo/a/a/i;->b()Z

    move-result v1
    :try_end_7
    .catchall {:try_start_1 .. :try_end_7} :catchall_a

    if-nez v1, :cond_a

    const/4 v0, 0x1

    :catchall_a
    :cond_a
    return v0
.end method

.method private static b()Z
    .registers 3

    .line 36
    invoke-static {}, Landroid/bluetooth/BluetoothAdapter;->getDefaultAdapter()Landroid/bluetooth/BluetoothAdapter;

    move-result-object v0

    const/4 v1, 0x0

    if-nez v0, :cond_8

    return v1

    :cond_8
    const/4 v2, 0x1

    .line 42
    :try_start_9
    invoke-virtual {v0}, Landroid/bluetooth/BluetoothAdapter;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0
    :try_end_11
    .catch Ljava/lang/SecurityException; {:try_start_9 .. :try_end_11} :catch_15

    if-nez v0, :cond_14

    return v2

    :cond_14
    return v1

    :catch_15
    return v2
.end method