UTDevice.smali

.class public Lcom/alivc/rtc/device/UTDevice;
.super Ljava/lang/Object;
.source "UTDevice.java"


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

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

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

    .line 9
    return-void
.end method

.method public static getUtdid(Landroid/content/Context;)Ljava/lang/String;
    .registers 3
    .param p0, "context"    # Landroid/content/Context;

    .line 12
    invoke-static {p0}, Lcom/alivc/rtc/device/DeviceInfo;->getDevice(Landroid/content/Context;)Lcom/alivc/rtc/device/Device;

    move-result-object v0

    .line 13
    .local v0, "device":Lcom/alivc/rtc/device/Device;
    if-eqz v0, :cond_15

    invoke-virtual {v0}, Lcom/alivc/rtc/device/Device;->getUtdid()Ljava/lang/String;

    move-result-object v1

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

    move-result v1

    if-nez v1, :cond_15

    invoke-virtual {v0}, Lcom/alivc/rtc/device/Device;->getUtdid()Ljava/lang/String;

    move-result-object v1

    goto :goto_17

    :cond_15
    const-string v1, "ffffffffffffffffffffffff"

    :goto_17
    return-object v1
.end method