2019-02-17 02:24:41 +00:00
.class public final L com/adjust/sdk/f ;
2019-02-04 20:08:30 +00:00
.super L java/lang/Object ;
2019-02-17 02:24:41 +00:00
.source "AdjustConfig.java"
2019-02-04 20:08:30 +00:00
# instance fields
2019-02-17 02:24:41 +00:00
.field cW : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field cX : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.field cY : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field cZ : Z
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.field public context : L android/content/Context ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field da : L java/lang/String ;
.field public db : L com/adjust/sdk/af ;
.field dc : L java/lang/Boolean ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dd : L java/lang/Class ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field de : L com/adjust/sdk/aj ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field df : L com/adjust/sdk/ai ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dg : L com/adjust/sdk/al ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dh : L com/adjust/sdk/ak ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field di : L com/adjust/sdk/ag ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dj : Z
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dk : L java/lang/Double ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field public dl : L java/util/List ;
2019-02-17 02:24:41 +00:00
.annotation system L dalvik/annotation/Signature ;
value = {
"Ljava/util/List<" ,
"Lcom/adjust/sdk/aa;" ,
">;"
}
.end annotation
.end field
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dm : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field public dn : L java/lang/Boolean ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field public do : Z
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dp : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dq : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
.field dr : Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.field processName : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.field public pushToken : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
# direct methods
.method public constructor <init> ( L android/content/Context ;L java/lang/String ;L java/lang/String ;) V
.locals 5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct { p0 } , L java/lang/Object ;-> <init> ( ) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static { } , L com/adjust/sdk/j ;-> X ( ) L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-03-26 19:13:28 +00:00
sget-object v0 , L com/adjust/sdk/ad ;-> eI : L com/adjust/sdk/ad ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v1 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2 , "production"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { v2 , p3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v1 , v0 , v2 } , L com/adjust/sdk/x ;-> a ( L com/adjust/sdk/ad ;Z ) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { p2 } , L java/lang/String ;-> length ( ) I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1 , 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v2 , 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/16 v3 , 0xc
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eq v0 , v3 , :cond_0
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3 , "Malformed App Token \'%s\'"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v1 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p2 , v4 , v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v0 , v3 , v4 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
const/4 v0 , 0x0
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:cond_0
const/4 v0 , 0x1
2019-02-17 02:24:41 +00:00
:goto_0
if-nez v0 , :cond_1
2019-02-04 20:08:30 +00:00
const/4 v1 , 0x0
2019-02-17 02:24:41 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
:cond_1
2019-02-17 02:24:41 +00:00
if-nez p3 , :cond_2
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3 , "Missing environment"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v2 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v0 , v3 , v4 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_2
const-string v0 , "sandbox"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { p3 , v0 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
2019-02-04 20:08:30 +00:00
move-result v0
2019-02-17 02:24:41 +00:00
if-eqz v0 , :cond_3
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3 , "SANDBOX: Adjust is running in Sandbox mode. Use this setting for testing. Don\'t forget to set the environment to `production` before publishing!"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v2 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v0 , v3 , v4 } , L com/adjust/sdk/x ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_3
const-string v0 , "production"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { p3 , v0 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v0 , :cond_4
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3 , "PRODUCTION: Adjust is running in Production mode. Use this setting only for the build that you want to publish. Set the environment to `sandbox` if you want to test your app!"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v2 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v0 , v3 , v4 } , L com/adjust/sdk/x ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_4
2019-02-21 02:16:48 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3 , "Unknown environment \'%s\'"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v1 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
aput-object p3 , v4 , v2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v0 , v3 , v4 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_1
if-nez v0 , :cond_5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1 , 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_5
if-nez p1 , :cond_6
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3 , "Missing context"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v2 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v0 , v3 , v4 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_6
const-string v0 , "android.permission.INTERNET"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static { p1 , v0 } , L com/adjust/sdk/az ;-> a ( L android/content/Context ;L java/lang/String ;) Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez v0 , :cond_7
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> cg : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v3 , "Missing permission: INTERNET"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v2 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-interface { v0 , v3 , v4 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_7
const/4 v0 , 0x1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:goto_2
if-nez v0 , :cond_8
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1 , 0x0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_8
:goto_3
if-eqz v1 , :cond_9
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { p1 } , L android/content/Context ;-> getApplicationContext ( ) L android/content/Context ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iput-object p1 , p0 , L com/adjust/sdk/f ;-> context : L android/content/Context ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-object p2 , p0 , L com/adjust/sdk/f ;-> cW : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-object p3 , p0 , L com/adjust/sdk/f ;-> cX : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-boolean v2 , p0 , L com/adjust/sdk/f ;-> cZ : Z
2019-02-04 20:08:30 +00:00
2019-02-21 02:16:48 +00:00
iput-boolean v2 , p0 , L com/adjust/sdk/f ;-> dj : Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_9
return-void
2019-02-04 20:08:30 +00:00
.end method