807 lines
17 KiB
Smali
807 lines
17 KiB
Smali
.class public Lf/c/a/q0;
|
|
.super Ljava/lang/Object;
|
|
.source "DeviceInfo.java"
|
|
|
|
|
|
# instance fields
|
|
.field public A:Ljava/lang/String;
|
|
|
|
.field public B:Ljava/lang/String;
|
|
|
|
.field public C:Ljava/lang/String;
|
|
|
|
.field public D:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public a:Ljava/lang/String;
|
|
|
|
.field public b:Ljava/lang/Boolean;
|
|
|
|
.field public c:Z
|
|
|
|
.field public d:Ljava/lang/String;
|
|
|
|
.field public e:Ljava/lang/String;
|
|
|
|
.field public f:Ljava/lang/String;
|
|
|
|
.field public g:Ljava/lang/String;
|
|
|
|
.field public h:Ljava/lang/String;
|
|
|
|
.field public i:Ljava/lang/String;
|
|
|
|
.field public j:Ljava/lang/String;
|
|
|
|
.field public k:Ljava/lang/String;
|
|
|
|
.field public l:Ljava/lang/String;
|
|
|
|
.field public m:Ljava/lang/String;
|
|
|
|
.field public n:Ljava/lang/String;
|
|
|
|
.field public o:Ljava/lang/String;
|
|
|
|
.field public p:Ljava/lang/String;
|
|
|
|
.field public q:Ljava/lang/String;
|
|
|
|
.field public r:Ljava/lang/String;
|
|
|
|
.field public s:Ljava/lang/String;
|
|
|
|
.field public t:Ljava/lang/String;
|
|
|
|
.field public u:Ljava/lang/String;
|
|
|
|
.field public v:Ljava/lang/String;
|
|
|
|
.field public w:Ljava/lang/String;
|
|
|
|
.field public x:Ljava/lang/String;
|
|
|
|
.field public y:Ljava/lang/String;
|
|
|
|
.field public z:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;)V
|
|
.locals 12
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lf/c/a/q0;->c:Z
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1}, Lf/c/a/a2;->a(Landroid/content/res/Configuration;)Ljava/util/Locale;
|
|
|
|
move-result-object v3
|
|
|
|
iget v1, v1, Landroid/content/res/Configuration;->screenLayout:I
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
invoke-virtual {p0, p1}, Lf/c/a/q0;->a(Landroid/content/Context;)V
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
iput-object v4, p0, Lf/c/a/q0;->i:Ljava/lang/String;
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:try_start_0
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v5, v6, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
|
|
|
|
move-result-object v5
|
|
|
|
iget-object v5, v5, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-object v5, v4
|
|
|
|
:goto_0
|
|
iput-object v5, p0, Lf/c/a/q0;->j:Ljava/lang/String;
|
|
|
|
and-int/lit8 v5, v1, 0xf
|
|
|
|
const/4 v6, 0x4
|
|
|
|
const/4 v7, 0x3
|
|
|
|
const/4 v8, 0x2
|
|
|
|
const/4 v9, 0x1
|
|
|
|
if-eq v5, v9, :cond_1
|
|
|
|
if-eq v5, v8, :cond_1
|
|
|
|
if-eq v5, v7, :cond_0
|
|
|
|
if-eq v5, v6, :cond_0
|
|
|
|
move-object v10, v4
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-string v10, "tablet"
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string v10, "phone"
|
|
|
|
:goto_1
|
|
iput-object v10, p0, Lf/c/a/q0;->k:Ljava/lang/String;
|
|
|
|
sget-object v10, Landroid/os/Build;->MODEL:Ljava/lang/String;
|
|
|
|
iput-object v10, p0, Lf/c/a/q0;->l:Ljava/lang/String;
|
|
|
|
sget-object v10, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;
|
|
|
|
iput-object v10, p0, Lf/c/a/q0;->m:Ljava/lang/String;
|
|
|
|
const-string v10, "android"
|
|
|
|
iput-object v10, p0, Lf/c/a/q0;->n:Ljava/lang/String;
|
|
|
|
sget-object v10, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
|
|
|
|
iput-object v10, p0, Lf/c/a/q0;->o:Ljava/lang/String;
|
|
|
|
const-string v10, ""
|
|
|
|
invoke-static {v10}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v10
|
|
|
|
sget v11, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
iput-object v10, p0, Lf/c/a/q0;->p:Ljava/lang/String;
|
|
|
|
invoke-virtual {v3}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;
|
|
|
|
move-result-object v10
|
|
|
|
iput-object v10, p0, Lf/c/a/q0;->q:Ljava/lang/String;
|
|
|
|
invoke-virtual {v3}, Ljava/util/Locale;->getCountry()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
iput-object v3, p0, Lf/c/a/q0;->r:Ljava/lang/String;
|
|
|
|
const-string v3, "normal"
|
|
|
|
if-eq v5, v9, :cond_5
|
|
|
|
if-eq v5, v8, :cond_4
|
|
|
|
if-eq v5, v7, :cond_3
|
|
|
|
if-eq v5, v6, :cond_2
|
|
|
|
move-object v5, v4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const-string v5, "xlarge"
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
const-string v5, "large"
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
move-object v5, v3
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
const-string v5, "small"
|
|
|
|
:goto_2
|
|
iput-object v5, p0, Lf/c/a/q0;->s:Ljava/lang/String;
|
|
|
|
and-int/lit8 v1, v1, 0x30
|
|
|
|
const/16 v5, 0x10
|
|
|
|
if-eq v1, v5, :cond_7
|
|
|
|
const/16 v3, 0x20
|
|
|
|
if-eq v1, v3, :cond_6
|
|
|
|
move-object v1, v4
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
const-string v1, "long"
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
move-object v1, v3
|
|
|
|
:goto_3
|
|
iput-object v1, p0, Lf/c/a/q0;->t:Ljava/lang/String;
|
|
|
|
iget v1, v2, Landroid/util/DisplayMetrics;->densityDpi:I
|
|
|
|
if-nez v1, :cond_8
|
|
|
|
move-object v1, v4
|
|
|
|
goto :goto_4
|
|
|
|
:cond_8
|
|
const/16 v3, 0x8c
|
|
|
|
if-ge v1, v3, :cond_9
|
|
|
|
const-string v1, "low"
|
|
|
|
goto :goto_4
|
|
|
|
:cond_9
|
|
const/16 v3, 0xc8
|
|
|
|
if-le v1, v3, :cond_a
|
|
|
|
const-string v1, "high"
|
|
|
|
goto :goto_4
|
|
|
|
:cond_a
|
|
const-string v1, "medium"
|
|
|
|
:goto_4
|
|
iput-object v1, p0, Lf/c/a/q0;->u:Ljava/lang/String;
|
|
|
|
iget v1, v2, Landroid/util/DisplayMetrics;->widthPixels:I
|
|
|
|
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Lf/c/a/q0;->v:Ljava/lang/String;
|
|
|
|
iget v1, v2, Landroid/util/DisplayMetrics;->heightPixels:I
|
|
|
|
invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, p0, Lf/c/a/q0;->w:Ljava/lang/String;
|
|
|
|
const-string v1, "android4.12.0"
|
|
|
|
if-nez p2, :cond_b
|
|
|
|
goto :goto_5
|
|
|
|
:cond_b
|
|
sget-object v2, Ljava/util/Locale;->US:Ljava/util/Locale;
|
|
|
|
new-array v3, v8, [Ljava/lang/Object;
|
|
|
|
aput-object p2, v3, v0
|
|
|
|
aput-object v1, v3, v9
|
|
|
|
const-string p2, "%s@%s"
|
|
|
|
invoke-static {v2, p2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_5
|
|
iput-object v1, p0, Lf/c/a/q0;->h:Ljava/lang/String;
|
|
|
|
const-string p2, "aid"
|
|
|
|
:try_start_1
|
|
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v1, "content://com.facebook.katana.provider.AttributionIdProvider"
|
|
|
|
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
move-result-object v6
|
|
|
|
filled-new-array {p2}, [Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
const/4 v8, 0x0
|
|
|
|
const/4 v9, 0x0
|
|
|
|
const/4 v10, 0x0
|
|
|
|
invoke-virtual/range {v5 .. v10}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_c
|
|
|
|
goto :goto_6
|
|
|
|
:cond_c
|
|
invoke-interface {v1}, Landroid/database/Cursor;->moveToFirst()Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_d
|
|
|
|
invoke-interface {v1}, Landroid/database/Cursor;->close()V
|
|
|
|
goto :goto_6
|
|
|
|
:cond_d
|
|
invoke-interface {v1, p2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result p2
|
|
|
|
invoke-interface {v1, p2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-interface {v1}, Landroid/database/Cursor;->close()V
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
goto :goto_7
|
|
|
|
:catch_1
|
|
:goto_6
|
|
move-object p2, v4
|
|
|
|
:goto_7
|
|
iput-object p2, p0, Lf/c/a/q0;->g:Ljava/lang/String;
|
|
|
|
new-instance p2, Ljava/util/HashMap;
|
|
|
|
invoke-direct {p2}, Ljava/util/HashMap;-><init>()V
|
|
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
sget-object v2, Lf/c/a/o0;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v2}, Ljava/util/List;->size()I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
|
|
|
sget-object v2, Lf/c/a/o0;->a:Ljava/util/List;
|
|
|
|
invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v2
|
|
|
|
:cond_e
|
|
:goto_8
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_f
|
|
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
invoke-static {v3}, Ls/a/b/b/a;->b(Ljava/lang/String;)Ljava/lang/Class;
|
|
|
|
move-result-object v3
|
|
|
|
:try_start_2
|
|
invoke-virtual {v3}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
goto :goto_9
|
|
|
|
:catchall_0
|
|
move-object v3, v4
|
|
|
|
:goto_9
|
|
if-eqz v3, :cond_e
|
|
|
|
instance-of v5, v3, Lf/c/a/b2/a;
|
|
|
|
if-eqz v5, :cond_e
|
|
|
|
check-cast v3, Lf/c/a/b2/a;
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_8
|
|
|
|
:cond_f
|
|
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_10
|
|
:goto_a
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_11
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lf/c/a/b2/a;
|
|
|
|
invoke-interface {v2, p1}, Lf/c/a/b2/a;->a(Landroid/content/Context;)Ljava/util/Map$Entry;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_10
|
|
|
|
invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {p2, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_a
|
|
|
|
:cond_11
|
|
invoke-interface {p2}, Ljava/util/Map;->size()I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_12
|
|
|
|
move-object p2, v4
|
|
|
|
:cond_12
|
|
iput-object p2, p0, Lf/c/a/q0;->D:Ljava/util/Map;
|
|
|
|
sget-object p2, Landroid/os/Build;->DISPLAY:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lf/c/a/q0;->x:Ljava/lang/String;
|
|
|
|
invoke-static {}, Lf/c/a/a2;->b()[Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
if-eqz p2, :cond_14
|
|
|
|
array-length v1, p2
|
|
|
|
if-nez v1, :cond_13
|
|
|
|
goto :goto_b
|
|
|
|
:cond_13
|
|
aget-object p2, p2, v0
|
|
|
|
goto :goto_c
|
|
|
|
:cond_14
|
|
:goto_b
|
|
:try_start_3
|
|
const-string p2, "android.os.Build"
|
|
|
|
const-string v0, "CPU_ABI"
|
|
|
|
invoke-static {p2, v0}, Ls/a/b/b/a;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Ljava/lang/String;
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
goto :goto_c
|
|
|
|
:catchall_1
|
|
move-object p2, v4
|
|
|
|
:goto_c
|
|
iput-object p2, p0, Lf/c/a/q0;->y:Ljava/lang/String;
|
|
|
|
sget-object p2, Landroid/os/Build;->ID:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lf/c/a/q0;->z:Ljava/lang/String;
|
|
|
|
invoke-static {}, Lf/c/a/a2;->c()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p0, Lf/c/a/q0;->A:Ljava/lang/String;
|
|
|
|
const/16 p2, 0x1000
|
|
|
|
:try_start_4
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1, p2}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lf/c/a/a2;->b:Ljava/text/SimpleDateFormat;
|
|
|
|
new-instance v2, Ljava/util/Date;
|
|
|
|
iget-wide v5, v0, Landroid/content/pm/PackageInfo;->firstInstallTime:J
|
|
|
|
invoke-direct {v2, v5, v6}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
:try_end_4
|
|
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2
|
|
|
|
goto :goto_d
|
|
|
|
:catch_2
|
|
move-object v0, v4
|
|
|
|
:goto_d
|
|
iput-object v0, p0, Lf/c/a/q0;->B:Ljava/lang/String;
|
|
|
|
:try_start_5
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1, p2}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object p2, Lf/c/a/a2;->b:Ljava/text/SimpleDateFormat;
|
|
|
|
new-instance v0, Ljava/util/Date;
|
|
|
|
iget-wide v1, p1, Landroid/content/pm/PackageInfo;->lastUpdateTime:J
|
|
|
|
invoke-direct {v0, v1, v2}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-virtual {p2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
:try_end_5
|
|
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_3
|
|
|
|
:catch_3
|
|
iput-object v4, p0, Lf/c/a/q0;->C:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/content/Context;)V
|
|
.locals 7
|
|
|
|
invoke-static {p1}, Lf/c/a/a2;->b(Landroid/content/Context;)Ljava/lang/Boolean;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lf/c/a/q0;->b:Ljava/lang/Boolean;
|
|
|
|
invoke-static {p1}, Lf/c/a/a2;->a(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lf/c/a/q0;->a:Ljava/lang/String;
|
|
|
|
iget-object v0, p0, Lf/c/a/q0;->a:Ljava/lang/String;
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
iget-boolean v0, p0, Lf/c/a/q0;->c:Z
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
const-string v0, "android.permission.ACCESS_WIFI_STATE"
|
|
|
|
invoke-static {p1, v0}, Lf/c/a/a2;->a(Landroid/content/Context;Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-static {}, Lf/c/a/z;->a()Lf/c/a/u0;
|
|
|
|
move-result-object v0
|
|
|
|
new-array v2, v1, [Ljava/lang/Object;
|
|
|
|
check-cast v0, Lf/c/a/b1;
|
|
|
|
const-string v3, "Missing permission: ACCESS_WIFI_STATE"
|
|
|
|
invoke-virtual {v0, v3, v2}, Lf/c/a/b1;->e(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:try_start_0
|
|
const-string v3, "com.adjust.sdk.plugin.MacAddressUtil"
|
|
|
|
const-string v4, "getMacAddress"
|
|
|
|
new-array v5, v0, [Ljava/lang/Class;
|
|
|
|
const-class v6, Landroid/content/Context;
|
|
|
|
aput-object v6, v5, v1
|
|
|
|
new-array v6, v0, [Ljava/lang/Object;
|
|
|
|
aput-object p1, v6, v1
|
|
|
|
invoke-static {v3, v4, v5, v6}, Ls/a/b/b/a;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/lang/String;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-object v3, v2
|
|
|
|
:goto_0
|
|
if-nez v3, :cond_1
|
|
|
|
move-object v4, v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string v4, "SHA-1"
|
|
|
|
invoke-static {v3, v4}, Lf/c/a/a2;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
:goto_1
|
|
iput-object v4, p0, Lf/c/a/q0;->d:Ljava/lang/String;
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
move-object v3, v2
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const-string v4, ":"
|
|
|
|
const-string v5, ""
|
|
|
|
invoke-virtual {v3, v4, v5}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
const-string v4, "MD5"
|
|
|
|
invoke-static {v3, v4}, Lf/c/a/a2;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
:goto_2
|
|
iput-object v3, p0, Lf/c/a/q0;->e:Ljava/lang/String;
|
|
|
|
:try_start_1
|
|
const-string v3, "com.adjust.sdk.plugin.AndroidIdUtil"
|
|
|
|
const-string v4, "getAndroidId"
|
|
|
|
new-array v5, v0, [Ljava/lang/Class;
|
|
|
|
const-class v6, Landroid/content/Context;
|
|
|
|
aput-object v6, v5, v1
|
|
|
|
new-array v6, v0, [Ljava/lang/Object;
|
|
|
|
aput-object p1, v6, v1
|
|
|
|
invoke-static {v3, v4, v5, v6}, Ls/a/b/b/a;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
goto :goto_3
|
|
|
|
:catchall_1
|
|
move-object p1, v2
|
|
|
|
:goto_3
|
|
iput-object p1, p0, Lf/c/a/q0;->f:Ljava/lang/String;
|
|
|
|
iput-boolean v0, p0, Lf/c/a/q0;->c:Z
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|