h.smali

.class public final Lcom/live/share64/proto/b/h;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field public a:Ljava/lang/String;

.field public b:Landroid/content/Context;

.field public c:Lcom/live/share64/proto/b/f;

.field public d:Lcom/live/share64/proto/b/b;

.field e:Lcom/live/share64/proto/b/e;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 2

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

    .line 43
    iput-object p1, p0, Lcom/live/share64/proto/b/h;->b:Landroid/content/Context;

    .line 44
    invoke-static {p1}, Lcom/live/share64/proto/b/f;->a(Landroid/content/Context;)Lcom/live/share64/proto/b/f;

    move-result-object p1

    iput-object p1, p0, Lcom/live/share64/proto/b/h;->c:Lcom/live/share64/proto/b/f;

    .line 45
    iget-object p1, p0, Lcom/live/share64/proto/b/h;->b:Landroid/content/Context;

    invoke-static {p1}, Lcom/live/share64/proto/b/b;->a(Landroid/content/Context;)Lcom/live/share64/proto/b/b;

    move-result-object p1

    iput-object p1, p0, Lcom/live/share64/proto/b/h;->d:Lcom/live/share64/proto/b/b;

    .line 46
    iget-object p1, p0, Lcom/live/share64/proto/b/h;->b:Landroid/content/Context;

    invoke-static {p1}, Lcom/live/share64/proto/b/e;->a(Landroid/content/Context;)Lcom/live/share64/proto/b/e;

    move-result-object p1

    iput-object p1, p0, Lcom/live/share64/proto/b/h;->e:Lcom/live/share64/proto/b/e;

    return-void
.end method

.method public static a(Landroid/content/Context;)I
    .registers 3

    .line 489
    :try_start_0
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;

    move-result-object v0

    iget-object v0, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    .line 490
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p0

    const/16 v1, 0x4000

    invoke-virtual {p0, v0, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p0

    .line 491
    iget p0, p0, Landroid/content/pm/PackageInfo;->versionCode:I
    :try_end_12
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_12} :catch_13

    goto :goto_14

    :catch_13
    const/4 p0, 0x0

    :goto_14
    return p0
.end method


# virtual methods
.method public final a()J
    .registers 8

    .line 52
    iget-object v0, p0, Lcom/live/share64/proto/b/h;->c:Lcom/live/share64/proto/b/f;

    iget-wide v0, v0, Lcom/live/share64/proto/b/f;->b:J

    .line 53
    iget-object v2, p0, Lcom/live/share64/proto/b/h;->c:Lcom/live/share64/proto/b/f;

    iget-wide v2, v2, Lcom/live/share64/proto/b/f;->c:J

    const-wide/16 v4, 0x0

    cmp-long v6, v0, v4

    if-eqz v6, :cond_f

    return-wide v0

    :cond_f
    cmp-long v0, v2, v4

    if-eqz v0, :cond_14

    return-wide v2

    :cond_14
    return-wide v4
.end method

.method public final a(Ljava/lang/String;)V
    .registers 2

    .line 293
    iput-object p1, p0, Lcom/live/share64/proto/b/h;->a:Ljava/lang/String;

    return-void
.end method

.method public final b()[B
    .registers 4

    .line 198
    iget-object v0, p0, Lcom/live/share64/proto/b/h;->c:Lcom/live/share64/proto/b/f;

    iget-object v0, v0, Lcom/live/share64/proto/b/f;->f:[B

    .line 199
    iget-object v1, p0, Lcom/live/share64/proto/b/h;->c:Lcom/live/share64/proto/b/f;

    iget-object v1, v1, Lcom/live/share64/proto/b/f;->g:[B

    if-eqz v0, :cond_e

    .line 200
    array-length v2, v0

    if-lez v2, :cond_e

    return-object v0

    :cond_e
    if-eqz v1, :cond_14

    .line 202
    array-length v0, v1

    if-lez v0, :cond_14

    return-object v1

    :cond_14
    const/4 v0, 0x0

    return-object v0
.end method

.method public final c()Z
    .registers 2

    .line 239
    invoke-virtual {p0}, Lcom/live/share64/proto/b/h;->b()[B

    move-result-object v0

    if-eqz v0, :cond_8

    const/4 v0, 0x1

    return v0

    :cond_8
    const/4 v0, 0x0

    return v0
.end method

.method public final d()Z
    .registers 3

    .line 244
    invoke-virtual {p0}, Lcom/live/share64/proto/b/h;->b()[B

    move-result-object v0

    iget-object v1, p0, Lcom/live/share64/proto/b/h;->c:Lcom/live/share64/proto/b/f;

    iget-object v1, v1, Lcom/live/share64/proto/b/f;->g:[B

    if-ne v0, v1, :cond_c

    const/4 v0, 0x1

    return v0

    :cond_c
    const/4 v0, 0x0

    return v0
.end method